diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..d83ff53 Binary files /dev/null and b/.DS_Store differ diff --git a/0926_Studybook/.DS_Store b/0926_Studybook/.DS_Store new file mode 100644 index 0000000..3f00c31 Binary files /dev/null and b/0926_Studybook/.DS_Store differ diff --git a/0926_Studybook/0926_Studybook.xcodeproj/project.pbxproj b/0926_Studybook/0926_Studybook.xcodeproj/project.pbxproj new file mode 100644 index 0000000..1ddefe1 --- /dev/null +++ b/0926_Studybook/0926_Studybook.xcodeproj/project.pbxproj @@ -0,0 +1,534 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + AE99B60B1F79E00700B63AB9 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = AE99B60A1F79E00700B63AB9 /* AppDelegate.swift */; }; + AE99B60D1F79E00700B63AB9 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = AE99B60C1F79E00700B63AB9 /* ViewController.swift */; }; + AE99B6101F79E00700B63AB9 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = AE99B60E1F79E00700B63AB9 /* Main.storyboard */; }; + AE99B6121F79E00700B63AB9 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = AE99B6111F79E00700B63AB9 /* Assets.xcassets */; }; + AE99B6151F79E00700B63AB9 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = AE99B6131F79E00700B63AB9 /* LaunchScreen.storyboard */; }; + AE99B6201F79E00700B63AB9 /* _926_StudybookTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = AE99B61F1F79E00700B63AB9 /* _926_StudybookTests.swift */; }; + AE99B62B1F79E00700B63AB9 /* _926_StudybookUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = AE99B62A1F79E00700B63AB9 /* _926_StudybookUITests.swift */; }; + AE99B6391F79E9F600B63AB9 /* model.swift in Sources */ = {isa = PBXBuildFile; fileRef = AE99B6381F79E9F600B63AB9 /* model.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + AE99B61C1F79E00700B63AB9 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = AE99B5FF1F79E00700B63AB9 /* Project object */; + proxyType = 1; + remoteGlobalIDString = AE99B6061F79E00700B63AB9; + remoteInfo = 0926_Studybook; + }; + AE99B6271F79E00700B63AB9 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = AE99B5FF1F79E00700B63AB9 /* Project object */; + proxyType = 1; + remoteGlobalIDString = AE99B6061F79E00700B63AB9; + remoteInfo = 0926_Studybook; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + AE99B6071F79E00700B63AB9 /* 0926_Studybook.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = 0926_Studybook.app; sourceTree = BUILT_PRODUCTS_DIR; }; + AE99B60A1F79E00700B63AB9 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + AE99B60C1F79E00700B63AB9 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + AE99B60F1F79E00700B63AB9 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + AE99B6111F79E00700B63AB9 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + AE99B6141F79E00700B63AB9 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + AE99B6161F79E00700B63AB9 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + AE99B61B1F79E00700B63AB9 /* 0926_StudybookTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = 0926_StudybookTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + AE99B61F1F79E00700B63AB9 /* _926_StudybookTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = _926_StudybookTests.swift; sourceTree = ""; }; + AE99B6211F79E00700B63AB9 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + AE99B6261F79E00700B63AB9 /* 0926_StudybookUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = 0926_StudybookUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + AE99B62A1F79E00700B63AB9 /* _926_StudybookUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = _926_StudybookUITests.swift; sourceTree = ""; }; + AE99B62C1F79E00700B63AB9 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + AE99B6381F79E9F600B63AB9 /* model.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = model.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + AE99B6041F79E00700B63AB9 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + AE99B6181F79E00700B63AB9 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + AE99B6231F79E00700B63AB9 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + AE99B5FE1F79E00700B63AB9 = { + isa = PBXGroup; + children = ( + AE99B6091F79E00700B63AB9 /* 0926_Studybook */, + AE99B61E1F79E00700B63AB9 /* 0926_StudybookTests */, + AE99B6291F79E00700B63AB9 /* 0926_StudybookUITests */, + AE99B6081F79E00700B63AB9 /* Products */, + ); + sourceTree = ""; + }; + AE99B6081F79E00700B63AB9 /* Products */ = { + isa = PBXGroup; + children = ( + AE99B6071F79E00700B63AB9 /* 0926_Studybook.app */, + AE99B61B1F79E00700B63AB9 /* 0926_StudybookTests.xctest */, + AE99B6261F79E00700B63AB9 /* 0926_StudybookUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + AE99B6091F79E00700B63AB9 /* 0926_Studybook */ = { + isa = PBXGroup; + children = ( + AE99B60A1F79E00700B63AB9 /* AppDelegate.swift */, + AE99B60C1F79E00700B63AB9 /* ViewController.swift */, + AE99B60E1F79E00700B63AB9 /* Main.storyboard */, + AE99B6381F79E9F600B63AB9 /* model.swift */, + AE99B6111F79E00700B63AB9 /* Assets.xcassets */, + AE99B6131F79E00700B63AB9 /* LaunchScreen.storyboard */, + AE99B6161F79E00700B63AB9 /* Info.plist */, + ); + path = 0926_Studybook; + sourceTree = ""; + }; + AE99B61E1F79E00700B63AB9 /* 0926_StudybookTests */ = { + isa = PBXGroup; + children = ( + AE99B61F1F79E00700B63AB9 /* _926_StudybookTests.swift */, + AE99B6211F79E00700B63AB9 /* Info.plist */, + ); + path = 0926_StudybookTests; + sourceTree = ""; + }; + AE99B6291F79E00700B63AB9 /* 0926_StudybookUITests */ = { + isa = PBXGroup; + children = ( + AE99B62A1F79E00700B63AB9 /* _926_StudybookUITests.swift */, + AE99B62C1F79E00700B63AB9 /* Info.plist */, + ); + path = 0926_StudybookUITests; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + AE99B6061F79E00700B63AB9 /* 0926_Studybook */ = { + isa = PBXNativeTarget; + buildConfigurationList = AE99B62F1F79E00700B63AB9 /* Build configuration list for PBXNativeTarget "0926_Studybook" */; + buildPhases = ( + AE99B6031F79E00700B63AB9 /* Sources */, + AE99B6041F79E00700B63AB9 /* Frameworks */, + AE99B6051F79E00700B63AB9 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = 0926_Studybook; + productName = 0926_Studybook; + productReference = AE99B6071F79E00700B63AB9 /* 0926_Studybook.app */; + productType = "com.apple.product-type.application"; + }; + AE99B61A1F79E00700B63AB9 /* 0926_StudybookTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = AE99B6321F79E00700B63AB9 /* Build configuration list for PBXNativeTarget "0926_StudybookTests" */; + buildPhases = ( + AE99B6171F79E00700B63AB9 /* Sources */, + AE99B6181F79E00700B63AB9 /* Frameworks */, + AE99B6191F79E00700B63AB9 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + AE99B61D1F79E00700B63AB9 /* PBXTargetDependency */, + ); + name = 0926_StudybookTests; + productName = 0926_StudybookTests; + productReference = AE99B61B1F79E00700B63AB9 /* 0926_StudybookTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + AE99B6251F79E00700B63AB9 /* 0926_StudybookUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = AE99B6351F79E00700B63AB9 /* Build configuration list for PBXNativeTarget "0926_StudybookUITests" */; + buildPhases = ( + AE99B6221F79E00700B63AB9 /* Sources */, + AE99B6231F79E00700B63AB9 /* Frameworks */, + AE99B6241F79E00700B63AB9 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + AE99B6281F79E00700B63AB9 /* PBXTargetDependency */, + ); + name = 0926_StudybookUITests; + productName = 0926_StudybookUITests; + productReference = AE99B6261F79E00700B63AB9 /* 0926_StudybookUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + AE99B5FF1F79E00700B63AB9 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0830; + LastUpgradeCheck = 0830; + ORGANIZATIONNAME = "황도증"; + TargetAttributes = { + AE99B6061F79E00700B63AB9 = { + CreatedOnToolsVersion = 8.3.3; + ProvisioningStyle = Automatic; + }; + AE99B61A1F79E00700B63AB9 = { + CreatedOnToolsVersion = 8.3.3; + ProvisioningStyle = Automatic; + TestTargetID = AE99B6061F79E00700B63AB9; + }; + AE99B6251F79E00700B63AB9 = { + CreatedOnToolsVersion = 8.3.3; + ProvisioningStyle = Automatic; + TestTargetID = AE99B6061F79E00700B63AB9; + }; + }; + }; + buildConfigurationList = AE99B6021F79E00700B63AB9 /* Build configuration list for PBXProject "0926_Studybook" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = AE99B5FE1F79E00700B63AB9; + productRefGroup = AE99B6081F79E00700B63AB9 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + AE99B6061F79E00700B63AB9 /* 0926_Studybook */, + AE99B61A1F79E00700B63AB9 /* 0926_StudybookTests */, + AE99B6251F79E00700B63AB9 /* 0926_StudybookUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + AE99B6051F79E00700B63AB9 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + AE99B6151F79E00700B63AB9 /* LaunchScreen.storyboard in Resources */, + AE99B6121F79E00700B63AB9 /* Assets.xcassets in Resources */, + AE99B6101F79E00700B63AB9 /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + AE99B6191F79E00700B63AB9 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + AE99B6241F79E00700B63AB9 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + AE99B6031F79E00700B63AB9 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + AE99B60D1F79E00700B63AB9 /* ViewController.swift in Sources */, + AE99B6391F79E9F600B63AB9 /* model.swift in Sources */, + AE99B60B1F79E00700B63AB9 /* AppDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + AE99B6171F79E00700B63AB9 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + AE99B6201F79E00700B63AB9 /* _926_StudybookTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + AE99B6221F79E00700B63AB9 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + AE99B62B1F79E00700B63AB9 /* _926_StudybookUITests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + AE99B61D1F79E00700B63AB9 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = AE99B6061F79E00700B63AB9 /* 0926_Studybook */; + targetProxy = AE99B61C1F79E00700B63AB9 /* PBXContainerItemProxy */; + }; + AE99B6281F79E00700B63AB9 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = AE99B6061F79E00700B63AB9 /* 0926_Studybook */; + targetProxy = AE99B6271F79E00700B63AB9 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + AE99B60E1F79E00700B63AB9 /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + AE99B60F1F79E00700B63AB9 /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + AE99B6131F79E00700B63AB9 /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + AE99B6141F79E00700B63AB9 /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + AE99B62D1F79E00700B63AB9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 10.3; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + AE99B62E1F79E00700B63AB9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 10.3; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + AE99B6301F79E00700B63AB9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + INFOPLIST_FILE = 0926_Studybook/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "--------.-926-Studybook"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 3.0; + }; + name = Debug; + }; + AE99B6311F79E00700B63AB9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + INFOPLIST_FILE = 0926_Studybook/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "--------.-926-Studybook"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 3.0; + }; + name = Release; + }; + AE99B6331F79E00700B63AB9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + INFOPLIST_FILE = 0926_StudybookTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "--------.-926-StudybookTests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 3.0; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/0926_Studybook.app/0926_Studybook"; + }; + name = Debug; + }; + AE99B6341F79E00700B63AB9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + INFOPLIST_FILE = 0926_StudybookTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "--------.-926-StudybookTests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 3.0; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/0926_Studybook.app/0926_Studybook"; + }; + name = Release; + }; + AE99B6361F79E00700B63AB9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + INFOPLIST_FILE = 0926_StudybookUITests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "--------.-926-StudybookUITests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 3.0; + TEST_TARGET_NAME = 0926_Studybook; + }; + name = Debug; + }; + AE99B6371F79E00700B63AB9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + INFOPLIST_FILE = 0926_StudybookUITests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "--------.-926-StudybookUITests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 3.0; + TEST_TARGET_NAME = 0926_Studybook; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + AE99B6021F79E00700B63AB9 /* Build configuration list for PBXProject "0926_Studybook" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + AE99B62D1F79E00700B63AB9 /* Debug */, + AE99B62E1F79E00700B63AB9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + AE99B62F1F79E00700B63AB9 /* Build configuration list for PBXNativeTarget "0926_Studybook" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + AE99B6301F79E00700B63AB9 /* Debug */, + AE99B6311F79E00700B63AB9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; + AE99B6321F79E00700B63AB9 /* Build configuration list for PBXNativeTarget "0926_StudybookTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + AE99B6331F79E00700B63AB9 /* Debug */, + AE99B6341F79E00700B63AB9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; + AE99B6351F79E00700B63AB9 /* Build configuration list for PBXNativeTarget "0926_StudybookUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + AE99B6361F79E00700B63AB9 /* Debug */, + AE99B6371F79E00700B63AB9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + }; + rootObject = AE99B5FF1F79E00700B63AB9 /* Project object */; +} diff --git a/0926_Studybook/0926_Studybook.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/0926_Studybook/0926_Studybook.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..a1ad1e6 --- /dev/null +++ b/0926_Studybook/0926_Studybook.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/0926_Studybook/0926_Studybook.xcodeproj/project.xcworkspace/xcuserdata/djhwang.xcuserdatad/UserInterfaceState.xcuserstate b/0926_Studybook/0926_Studybook.xcodeproj/project.xcworkspace/xcuserdata/djhwang.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..7446ffb Binary files /dev/null and b/0926_Studybook/0926_Studybook.xcodeproj/project.xcworkspace/xcuserdata/djhwang.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/0926_Studybook/0926_Studybook.xcodeproj/xcuserdata/djhwang.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/0926_Studybook/0926_Studybook.xcodeproj/xcuserdata/djhwang.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist new file mode 100644 index 0000000..3465fc2 --- /dev/null +++ b/0926_Studybook/0926_Studybook.xcodeproj/xcuserdata/djhwang.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist @@ -0,0 +1,23 @@ + + + + + + + + + diff --git a/0926_Studybook/0926_Studybook.xcodeproj/xcuserdata/djhwang.xcuserdatad/xcschemes/0926_Studybook.xcscheme b/0926_Studybook/0926_Studybook.xcodeproj/xcuserdata/djhwang.xcuserdatad/xcschemes/0926_Studybook.xcscheme new file mode 100644 index 0000000..23d42a6 --- /dev/null +++ b/0926_Studybook/0926_Studybook.xcodeproj/xcuserdata/djhwang.xcuserdatad/xcschemes/0926_Studybook.xcscheme @@ -0,0 +1,111 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/0926_Studybook/0926_Studybook.xcodeproj/xcuserdata/djhwang.xcuserdatad/xcschemes/xcschememanagement.plist b/0926_Studybook/0926_Studybook.xcodeproj/xcuserdata/djhwang.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..de285b2 --- /dev/null +++ b/0926_Studybook/0926_Studybook.xcodeproj/xcuserdata/djhwang.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,32 @@ + + + + + SchemeUserState + + 0926_Studybook.xcscheme + + orderHint + 0 + + + SuppressBuildableAutocreation + + AE99B6061F79E00700B63AB9 + + primary + + + AE99B61A1F79E00700B63AB9 + + primary + + + AE99B6251F79E00700B63AB9 + + primary + + + + + diff --git a/0926_Studybook/0926_Studybook/AppDelegate.swift b/0926_Studybook/0926_Studybook/AppDelegate.swift new file mode 100644 index 0000000..db071a5 --- /dev/null +++ b/0926_Studybook/0926_Studybook/AppDelegate.swift @@ -0,0 +1,47 @@ +// +// AppDelegate.swift +// 0926_Studybook +// +// Created by 황도증 on 2017. 9. 26.. +// Copyright © 2017년 황도증. All rights reserved. +// + +import UIKit + +@UIApplicationMain +class AppDelegate: UIResponder, UIApplicationDelegate { + + var window: UIWindow? + + + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { + // Override point for customization after application launch. + dummyData() + return true + } + + func applicationWillResignActive(_ application: UIApplication) { + // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game. + } + + func applicationDidEnterBackground(_ application: UIApplication) { + // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. + } + + func applicationWillEnterForeground(_ application: UIApplication) { + // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background. + } + + func applicationDidBecomeActive(_ application: UIApplication) { + // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. + } + + func applicationWillTerminate(_ application: UIApplication) { + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. + } + + +} + diff --git a/0926_Studybook/0926_Studybook/Assets.xcassets/AppIcon.appiconset/Contents.json b/0926_Studybook/0926_Studybook/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..36d2c80 --- /dev/null +++ b/0926_Studybook/0926_Studybook/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,68 @@ +{ + "images" : [ + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "3x" + }, + { + "idiom" : "ipad", + "size" : "29x29", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "40x40", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "76x76", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "76x76", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/0926_Studybook/0926_Studybook/Base.lproj/LaunchScreen.storyboard b/0926_Studybook/0926_Studybook/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 0000000..fdf3f97 --- /dev/null +++ b/0926_Studybook/0926_Studybook/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/0926_Studybook/0926_Studybook/Base.lproj/Main.storyboard b/0926_Studybook/0926_Studybook/Base.lproj/Main.storyboard new file mode 100644 index 0000000..f29e367 --- /dev/null +++ b/0926_Studybook/0926_Studybook/Base.lproj/Main.storyboard @@ -0,0 +1,223 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/0926_Studybook/0926_Studybook/Info.plist b/0926_Studybook/0926_Studybook/Info.plist new file mode 100644 index 0000000..d052473 --- /dev/null +++ b/0926_Studybook/0926_Studybook/Info.plist @@ -0,0 +1,45 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + LSRequiresIPhoneOS + + UILaunchStoryboardName + LaunchScreen + UIMainStoryboardFile + Main + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/0926_Studybook/0926_Studybook/ViewController.swift b/0926_Studybook/0926_Studybook/ViewController.swift new file mode 100644 index 0000000..a18e8c7 --- /dev/null +++ b/0926_Studybook/0926_Studybook/ViewController.swift @@ -0,0 +1,29 @@ +// +// ViewController.swift +// 0926_Studybook +// +// Created by 황도증 on 2017. 9. 26.. +// Copyright © 2017년 황도증. All rights reserved. +// + +import UIKit + +class ViewController: UIViewController { + + @IBOutlet weak var dummyLabel: UILabel! + override func viewDidLoad() { + super.viewDidLoad() + // Do any additional setup after loading the view, typically from a nib. + + let myBooks = dummyData() + dummyLabel.text = String(describing: myBooks) + } + + override func didReceiveMemoryWarning() { + super.didReceiveMemoryWarning() + // Dispose of any resources that can be recreated. + } + + +} + diff --git a/0926_Studybook/0926_Studybook/model.swift b/0926_Studybook/0926_Studybook/model.swift new file mode 100644 index 0000000..a89cf9c --- /dev/null +++ b/0926_Studybook/0926_Studybook/model.swift @@ -0,0 +1,24 @@ +// +// model.swift +// 0926_Studybook +// +// Created by 황도증 on 2017. 9. 26.. +// Copyright © 2017년 황도증. All rights reserved. +// + +import Foundation + +//class, struct +struct Book { + let bookName:String + let writer:String + var relatedBook:[String] + +} + +func dummyData() -> [Book] { + var myBooks:[Book] = [] + myBooks.append(Book(bookName:"iOS 앱 개발을 위한 Swift4", writer:"김근영", relatedBook:["java", "python"])) + print(myBooks) + return myBooks +} diff --git a/0926_Studybook/0926_StudybookTests/Info.plist b/0926_Studybook/0926_StudybookTests/Info.plist new file mode 100644 index 0000000..6c6c23c --- /dev/null +++ b/0926_Studybook/0926_StudybookTests/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/0926_Studybook/0926_StudybookTests/_926_StudybookTests.swift b/0926_Studybook/0926_StudybookTests/_926_StudybookTests.swift new file mode 100644 index 0000000..7373f11 --- /dev/null +++ b/0926_Studybook/0926_StudybookTests/_926_StudybookTests.swift @@ -0,0 +1,36 @@ +// +// _926_StudybookTests.swift +// 0926_StudybookTests +// +// Created by 황도증 on 2017. 9. 26.. +// Copyright © 2017년 황도증. All rights reserved. +// + +import XCTest +@testable import _926_Studybook + +class _926_StudybookTests: XCTestCase { + + override func setUp() { + super.setUp() + // Put setup code here. This method is called before the invocation of each test method in the class. + } + + override func tearDown() { + // Put teardown code here. This method is called after the invocation of each test method in the class. + super.tearDown() + } + + func testExample() { + // This is an example of a functional test case. + // Use XCTAssert and related functions to verify your tests produce the correct results. + } + + func testPerformanceExample() { + // This is an example of a performance test case. + self.measure { + // Put the code you want to measure the time of here. + } + } + +} diff --git a/0926_Studybook/0926_StudybookUITests/Info.plist b/0926_Studybook/0926_StudybookUITests/Info.plist new file mode 100644 index 0000000..6c6c23c --- /dev/null +++ b/0926_Studybook/0926_StudybookUITests/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/0926_Studybook/0926_StudybookUITests/_926_StudybookUITests.swift b/0926_Studybook/0926_StudybookUITests/_926_StudybookUITests.swift new file mode 100644 index 0000000..9348e17 --- /dev/null +++ b/0926_Studybook/0926_StudybookUITests/_926_StudybookUITests.swift @@ -0,0 +1,36 @@ +// +// _926_StudybookUITests.swift +// 0926_StudybookUITests +// +// Created by 황도증 on 2017. 9. 26.. +// Copyright © 2017년 황도증. All rights reserved. +// + +import XCTest + +class _926_StudybookUITests: XCTestCase { + + override func setUp() { + super.setUp() + + // Put setup code here. This method is called before the invocation of each test method in the class. + + // In UI tests it is usually best to stop immediately when a failure occurs. + continueAfterFailure = false + // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method. + XCUIApplication().launch() + + // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this. + } + + override func tearDown() { + // Put teardown code here. This method is called after the invocation of each test method in the class. + super.tearDown() + } + + func testExample() { + // Use recording to get started writing UI tests. + // Use XCTAssert and related functions to verify your tests produce the correct results. + } + +} diff --git a/LetnVar/.DS_Store b/LetnVar/.DS_Store new file mode 100644 index 0000000..01accf1 Binary files /dev/null and b/LetnVar/.DS_Store differ diff --git a/LetnVar/LetnVar.playground/Contents.swift b/LetnVar/LetnVar.playground/Contents.swift deleted file mode 100644 index 2c87deb..0000000 --- a/LetnVar/LetnVar.playground/Contents.swift +++ /dev/null @@ -1,13 +0,0 @@ -//: Playground - noun: a place where people can play - -import UIKit - -var str = "Hello, playground" - - -let name = "Seongkwan" -var weigh = 100.0 - - - - diff --git a/LetnVar/LetnVar_hanme&dojeung.playground/Contents.swift b/LetnVar/LetnVar_hanme&dojeung.playground/Contents.swift new file mode 100644 index 0000000..e84fe94 --- /dev/null +++ b/LetnVar/LetnVar_hanme&dojeung.playground/Contents.swift @@ -0,0 +1,23 @@ +//: Playground - noun: a place where people can play + +import UIKit + +var str = "Hello, playground" + +//let은 변경불가능한 상수를 만들고, var는 변경가능한 변수를 만든다. +//하지만 var의 변수타입을 변경할 수는 없다. + +let name = "Hanme" +var weight = 70.0 + +/* name = "Ha Hanme" */ +/* let은 값을 바꿀 수 없다. */ + +weight = 95 +/* 이렇게 var는 값을 바꿀 수 있다. */ + +/* weight = "83" */ +/* 하지만 다른 type으로 바꿀 수는 없다. */ + +let weightLog = [100.0, 95.0, 93.0] +var weightHistory = [70, 75, 68] \ No newline at end of file diff --git a/LetnVar/LetnVar.playground/contents.xcplayground b/LetnVar/LetnVar_hanme&dojeung.playground/contents.xcplayground similarity index 100% rename from LetnVar/LetnVar.playground/contents.xcplayground rename to LetnVar/LetnVar_hanme&dojeung.playground/contents.xcplayground diff --git a/LetnVar/LetnVar.playground/playground.xcworkspace/contents.xcworkspacedata b/LetnVar/LetnVar_hanme&dojeung.playground/playground.xcworkspace/contents.xcworkspacedata similarity index 100% rename from LetnVar/LetnVar.playground/playground.xcworkspace/contents.xcworkspacedata rename to LetnVar/LetnVar_hanme&dojeung.playground/playground.xcworkspace/contents.xcworkspacedata diff --git a/LetnVar/LetnVar_hanme&dojeung.playground/playground.xcworkspace/xcuserdata/djhwang.xcuserdatad/UserInterfaceState.xcuserstate b/LetnVar/LetnVar_hanme&dojeung.playground/playground.xcworkspace/xcuserdata/djhwang.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..0d93133 Binary files /dev/null and b/LetnVar/LetnVar_hanme&dojeung.playground/playground.xcworkspace/xcuserdata/djhwang.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/LetnVar/LetnVar_hanme&dojeung.playground/playground.xcworkspace/xcuserdata/hanme.xcuserdatad/UserInterfaceState.xcuserstate b/LetnVar/LetnVar_hanme&dojeung.playground/playground.xcworkspace/xcuserdata/hanme.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..3ed2360 Binary files /dev/null and b/LetnVar/LetnVar_hanme&dojeung.playground/playground.xcworkspace/xcuserdata/hanme.xcuserdatad/UserInterfaceState.xcuserstate differ