From a8ce2900d36d1cc1bea612b5ab41454bbb9c842b Mon Sep 17 00:00:00 2001 From: Yoon Ah Shin Date: Thu, 19 Aug 2021 16:11:25 +0900 Subject: [PATCH] inital Setting --- .gitignore | 114 ++++++ .../MVVM-Example.xcodeproj/project.pbxproj | 344 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../xcshareddata/IDEWorkspaceChecks.plist | 8 + .../MVVM-Example/AppDelegate.swift | 36 ++ .../AccentColor.colorset/Contents.json | 11 + .../AppIcon.appiconset/Contents.json | 98 +++++ .../Assets.xcassets/Contents.json | 6 + .../Base.lproj/LaunchScreen.storyboard | 25 ++ .../MVVM-Example/Base.lproj/Main.storyboard | 24 ++ heerucan/MVVM-Example/MVVM-Example/Info.plist | 66 ++++ .../MVVM-Example/SceneDelegate.swift | 52 +++ .../MVVM-Example/ViewController.swift | 19 + .../MVVM-Example.xcodeproj/project.pbxproj | 344 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../xcshareddata/IDEWorkspaceChecks.plist | 8 + .../MVVM-Example/AppDelegate.swift | 36 ++ .../AccentColor.colorset/Contents.json | 11 + .../AppIcon.appiconset/Contents.json | 98 +++++ .../Assets.xcassets/Contents.json | 6 + .../Base.lproj/LaunchScreen.storyboard | 25 ++ .../MVVM-Example/Base.lproj/Main.storyboard | 24 ++ .../MVVM-Example/MVVM-Example/Info.plist | 66 ++++ .../MVVM-Example/SceneDelegate.swift | 52 +++ .../MVVM-Example/ViewController.swift | 19 + .../MVVM-Example.xcodeproj/project.pbxproj | 344 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../xcshareddata/IDEWorkspaceChecks.plist | 8 + .../MVVM-Example/AppDelegate.swift | 36 ++ .../AccentColor.colorset/Contents.json | 11 + .../AppIcon.appiconset/Contents.json | 98 +++++ .../Assets.xcassets/Contents.json | 6 + .../Base.lproj/LaunchScreen.storyboard | 25 ++ .../MVVM-Example/Base.lproj/Main.storyboard | 24 ++ .../MVVM-Example/MVVM-Example/Info.plist | 66 ++++ .../MVVM-Example/SceneDelegate.swift | 52 +++ .../MVVM-Example/ViewController.swift | 19 + 37 files changed, 2202 insertions(+) create mode 100644 .gitignore create mode 100644 heerucan/MVVM-Example/MVVM-Example.xcodeproj/project.pbxproj create mode 100644 heerucan/MVVM-Example/MVVM-Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 heerucan/MVVM-Example/MVVM-Example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 heerucan/MVVM-Example/MVVM-Example/AppDelegate.swift create mode 100644 heerucan/MVVM-Example/MVVM-Example/Assets.xcassets/AccentColor.colorset/Contents.json create mode 100644 heerucan/MVVM-Example/MVVM-Example/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 heerucan/MVVM-Example/MVVM-Example/Assets.xcassets/Contents.json create mode 100644 heerucan/MVVM-Example/MVVM-Example/Base.lproj/LaunchScreen.storyboard create mode 100644 heerucan/MVVM-Example/MVVM-Example/Base.lproj/Main.storyboard create mode 100644 heerucan/MVVM-Example/MVVM-Example/Info.plist create mode 100644 heerucan/MVVM-Example/MVVM-Example/SceneDelegate.swift create mode 100644 heerucan/MVVM-Example/MVVM-Example/ViewController.swift create mode 100644 yangsubinn/MVVM-Example/MVVM-Example.xcodeproj/project.pbxproj create mode 100644 yangsubinn/MVVM-Example/MVVM-Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 yangsubinn/MVVM-Example/MVVM-Example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 yangsubinn/MVVM-Example/MVVM-Example/AppDelegate.swift create mode 100644 yangsubinn/MVVM-Example/MVVM-Example/Assets.xcassets/AccentColor.colorset/Contents.json create mode 100644 yangsubinn/MVVM-Example/MVVM-Example/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 yangsubinn/MVVM-Example/MVVM-Example/Assets.xcassets/Contents.json create mode 100644 yangsubinn/MVVM-Example/MVVM-Example/Base.lproj/LaunchScreen.storyboard create mode 100644 yangsubinn/MVVM-Example/MVVM-Example/Base.lproj/Main.storyboard create mode 100644 yangsubinn/MVVM-Example/MVVM-Example/Info.plist create mode 100644 yangsubinn/MVVM-Example/MVVM-Example/SceneDelegate.swift create mode 100644 yangsubinn/MVVM-Example/MVVM-Example/ViewController.swift create mode 100644 yoonah-dev/MVVM-Example/MVVM-Example.xcodeproj/project.pbxproj create mode 100644 yoonah-dev/MVVM-Example/MVVM-Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 yoonah-dev/MVVM-Example/MVVM-Example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 yoonah-dev/MVVM-Example/MVVM-Example/AppDelegate.swift create mode 100644 yoonah-dev/MVVM-Example/MVVM-Example/Assets.xcassets/AccentColor.colorset/Contents.json create mode 100644 yoonah-dev/MVVM-Example/MVVM-Example/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 yoonah-dev/MVVM-Example/MVVM-Example/Assets.xcassets/Contents.json create mode 100644 yoonah-dev/MVVM-Example/MVVM-Example/Base.lproj/LaunchScreen.storyboard create mode 100644 yoonah-dev/MVVM-Example/MVVM-Example/Base.lproj/Main.storyboard create mode 100644 yoonah-dev/MVVM-Example/MVVM-Example/Info.plist create mode 100644 yoonah-dev/MVVM-Example/MVVM-Example/SceneDelegate.swift create mode 100644 yoonah-dev/MVVM-Example/MVVM-Example/ViewController.swift diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a12052f --- /dev/null +++ b/.gitignore @@ -0,0 +1,114 @@ +# Created by https://www.toptal.com/developers/gitignore/api/swift,xcode,cocoapods +# Edit at https://www.toptal.com/developers/gitignore?templates=swift,xcode,cocoapods + +### CocoaPods ### +## CocoaPods GitIgnore Template + +# CocoaPods - Only use to conserve bandwidth / Save time on Pushing +# - Also handy if you have a large number of dependant pods +# - AS PER https://guides.cocoapods.org/using/using-cocoapods.html NEVER IGNORE THE LOCK FILE +Pods/ + +### Swift ### +# Xcode +# +# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore + +## User settings +xcuserdata/ +.DS_Store + +## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9) +*.xcscmblueprint +*.xccheckout + +## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4) +build/ +DerivedData/ +*.moved-aside +*.pbxuser +!default.pbxuser +*.mode1v3 +!default.mode1v3 +*.mode2v3 +!default.mode2v3 +*.perspectivev3 +!default.perspectivev3 + +## Obj-C/Swift specific +*.hmap + +## App packaging +*.ipa +*.dSYM.zip +*.dSYM + +## Playgrounds +timeline.xctimeline +playground.xcworkspace + +# Swift Package Manager +# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. +# Packages/ +# Package.pins +# Package.resolved +# *.xcodeproj +# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata +# hence it is not needed unless you have added a package configuration file to your project +# .swiftpm + +.build/ + +# CocoaPods +# We recommend against adding the Pods directory to your .gitignore. However +# you should judge for yourself, the pros and cons are mentioned at: +# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control +# Pods/ +# Add this line if you want to avoid checking in source code from the Xcode workspace +# *.xcworkspace + +# Carthage +# Add this line if you want to avoid checking in source code from Carthage dependencies. +# Carthage/Checkouts + +Carthage/Build/ + +# Accio dependency management +Dependencies/ +.accio/ + +# fastlane +# It is recommended to not store the screenshots in the git repo. +# Instead, use fastlane to re-generate the screenshots whenever they are needed. +# For more information about the recommended setup visit: +# https://docs.fastlane.tools/best-practices/source-control/#source-control + +fastlane/report.xml +fastlane/Preview.html +fastlane/screenshots/**/*.png +fastlane/test_output + +# Code Injection +# After new code Injection tools there's a generated folder /iOSInjectionProject +# https://github.com/johnno1962/injectionforxcode + +iOSInjectionProject/ + +### Xcode ### +# Xcode +# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore + + +#.DS_Store + +## Gcc Patch +/*.gcno + +### Xcode Patch ### +*.xcodeproj/* +!*.xcodeproj/project.pbxproj +!*.xcodeproj/xcshareddata/ +!*.xcworkspace/contents.xcworkspacedata +**/xcshareddata/WorkspaceSettings.xcsettings + +# End of https://www.toptal.com/developers/gitignore/api/swift,xcode,cocoapods diff --git a/heerucan/MVVM-Example/MVVM-Example.xcodeproj/project.pbxproj b/heerucan/MVVM-Example/MVVM-Example.xcodeproj/project.pbxproj new file mode 100644 index 0000000..d01e3cf --- /dev/null +++ b/heerucan/MVVM-Example/MVVM-Example.xcodeproj/project.pbxproj @@ -0,0 +1,344 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 50; + objects = { + +/* Begin PBXBuildFile section */ + EDFAFF3B26CE3B3400704A69 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = EDFAFF3A26CE3B3400704A69 /* AppDelegate.swift */; }; + EDFAFF3D26CE3B3400704A69 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = EDFAFF3C26CE3B3400704A69 /* SceneDelegate.swift */; }; + EDFAFF3F26CE3B3500704A69 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = EDFAFF3E26CE3B3500704A69 /* ViewController.swift */; }; + EDFAFF4226CE3B3500704A69 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = EDFAFF4026CE3B3500704A69 /* Main.storyboard */; }; + EDFAFF4426CE3B3600704A69 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = EDFAFF4326CE3B3600704A69 /* Assets.xcassets */; }; + EDFAFF4726CE3B3600704A69 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = EDFAFF4526CE3B3600704A69 /* LaunchScreen.storyboard */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + EDFAFF3726CE3B3400704A69 /* MVVM-Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "MVVM-Example.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + EDFAFF3A26CE3B3400704A69 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + EDFAFF3C26CE3B3400704A69 /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = ""; }; + EDFAFF3E26CE3B3500704A69 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + EDFAFF4126CE3B3500704A69 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + EDFAFF4326CE3B3600704A69 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + EDFAFF4626CE3B3600704A69 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + EDFAFF4826CE3B3600704A69 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + EDFAFF3426CE3B3400704A69 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + EDFAFF2E26CE3B3400704A69 = { + isa = PBXGroup; + children = ( + EDFAFF3926CE3B3400704A69 /* MVVM-Example */, + EDFAFF3826CE3B3400704A69 /* Products */, + ); + sourceTree = ""; + }; + EDFAFF3826CE3B3400704A69 /* Products */ = { + isa = PBXGroup; + children = ( + EDFAFF3726CE3B3400704A69 /* MVVM-Example.app */, + ); + name = Products; + sourceTree = ""; + }; + EDFAFF3926CE3B3400704A69 /* MVVM-Example */ = { + isa = PBXGroup; + children = ( + EDFAFF3A26CE3B3400704A69 /* AppDelegate.swift */, + EDFAFF3C26CE3B3400704A69 /* SceneDelegate.swift */, + EDFAFF3E26CE3B3500704A69 /* ViewController.swift */, + EDFAFF4026CE3B3500704A69 /* Main.storyboard */, + EDFAFF4326CE3B3600704A69 /* Assets.xcassets */, + EDFAFF4526CE3B3600704A69 /* LaunchScreen.storyboard */, + EDFAFF4826CE3B3600704A69 /* Info.plist */, + ); + path = "MVVM-Example"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + EDFAFF3626CE3B3400704A69 /* MVVM-Example */ = { + isa = PBXNativeTarget; + buildConfigurationList = EDFAFF4B26CE3B3600704A69 /* Build configuration list for PBXNativeTarget "MVVM-Example" */; + buildPhases = ( + EDFAFF3326CE3B3400704A69 /* Sources */, + EDFAFF3426CE3B3400704A69 /* Frameworks */, + EDFAFF3526CE3B3400704A69 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "MVVM-Example"; + productName = "MVVM-Example"; + productReference = EDFAFF3726CE3B3400704A69 /* MVVM-Example.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + EDFAFF2F26CE3B3400704A69 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 1250; + LastUpgradeCheck = 1250; + TargetAttributes = { + EDFAFF3626CE3B3400704A69 = { + CreatedOnToolsVersion = 12.5.1; + }; + }; + }; + buildConfigurationList = EDFAFF3226CE3B3400704A69 /* Build configuration list for PBXProject "MVVM-Example" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = EDFAFF2E26CE3B3400704A69; + productRefGroup = EDFAFF3826CE3B3400704A69 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + EDFAFF3626CE3B3400704A69 /* MVVM-Example */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + EDFAFF3526CE3B3400704A69 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + EDFAFF4726CE3B3600704A69 /* LaunchScreen.storyboard in Resources */, + EDFAFF4426CE3B3600704A69 /* Assets.xcassets in Resources */, + EDFAFF4226CE3B3500704A69 /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + EDFAFF3326CE3B3400704A69 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + EDFAFF3F26CE3B3500704A69 /* ViewController.swift in Sources */, + EDFAFF3B26CE3B3400704A69 /* AppDelegate.swift in Sources */, + EDFAFF3D26CE3B3400704A69 /* SceneDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + EDFAFF4026CE3B3500704A69 /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + EDFAFF4126CE3B3500704A69 /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + EDFAFF4526CE3B3600704A69 /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + EDFAFF4626CE3B3600704A69 /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + EDFAFF4926CE3B3600704A69 /* 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++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = 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_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + 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 = 14.5; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + EDFAFF4A26CE3B3600704A69 /* 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++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = 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_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + 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 = 14.5; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + EDFAFF4C26CE3B3600704A69 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = "MVVM-Example/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.tiekle.MVVM-Example"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + EDFAFF4D26CE3B3600704A69 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = "MVVM-Example/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.tiekle.MVVM-Example"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + EDFAFF3226CE3B3400704A69 /* Build configuration list for PBXProject "MVVM-Example" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + EDFAFF4926CE3B3600704A69 /* Debug */, + EDFAFF4A26CE3B3600704A69 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + EDFAFF4B26CE3B3600704A69 /* Build configuration list for PBXNativeTarget "MVVM-Example" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + EDFAFF4C26CE3B3600704A69 /* Debug */, + EDFAFF4D26CE3B3600704A69 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = EDFAFF2F26CE3B3400704A69 /* Project object */; +} diff --git a/heerucan/MVVM-Example/MVVM-Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/heerucan/MVVM-Example/MVVM-Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/heerucan/MVVM-Example/MVVM-Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/heerucan/MVVM-Example/MVVM-Example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/heerucan/MVVM-Example/MVVM-Example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/heerucan/MVVM-Example/MVVM-Example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/heerucan/MVVM-Example/MVVM-Example/AppDelegate.swift b/heerucan/MVVM-Example/MVVM-Example/AppDelegate.swift new file mode 100644 index 0000000..bc73a29 --- /dev/null +++ b/heerucan/MVVM-Example/MVVM-Example/AppDelegate.swift @@ -0,0 +1,36 @@ +// +// AppDelegate.swift +// MVVM-Example +// +// Created by SHIN YOON AH on 2021/08/19. +// + +import UIKit + +@main +class AppDelegate: UIResponder, UIApplicationDelegate { + + + + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { + // Override point for customization after application launch. + return true + } + + // MARK: UISceneSession Lifecycle + + func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration { + // Called when a new scene session is being created. + // Use this method to select a configuration to create the new scene with. + return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role) + } + + func application(_ application: UIApplication, didDiscardSceneSessions sceneSessions: Set) { + // Called when the user discards a scene session. + // If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions. + // Use this method to release any resources that were specific to the discarded scenes, as they will not return. + } + + +} + diff --git a/heerucan/MVVM-Example/MVVM-Example/Assets.xcassets/AccentColor.colorset/Contents.json b/heerucan/MVVM-Example/MVVM-Example/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/heerucan/MVVM-Example/MVVM-Example/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/heerucan/MVVM-Example/MVVM-Example/Assets.xcassets/AppIcon.appiconset/Contents.json b/heerucan/MVVM-Example/MVVM-Example/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..9221b9b --- /dev/null +++ b/heerucan/MVVM-Example/MVVM-Example/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,98 @@ +{ + "images" : [ + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "20x20" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "20x20" + }, + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "29x29" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "29x29" + }, + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "40x40" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "40x40" + }, + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "60x60" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "60x60" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "20x20" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "20x20" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "29x29" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "29x29" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "40x40" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "40x40" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "76x76" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "76x76" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "83.5x83.5" + }, + { + "idiom" : "ios-marketing", + "scale" : "1x", + "size" : "1024x1024" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/heerucan/MVVM-Example/MVVM-Example/Assets.xcassets/Contents.json b/heerucan/MVVM-Example/MVVM-Example/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/heerucan/MVVM-Example/MVVM-Example/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/heerucan/MVVM-Example/MVVM-Example/Base.lproj/LaunchScreen.storyboard b/heerucan/MVVM-Example/MVVM-Example/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 0000000..865e932 --- /dev/null +++ b/heerucan/MVVM-Example/MVVM-Example/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/heerucan/MVVM-Example/MVVM-Example/Base.lproj/Main.storyboard b/heerucan/MVVM-Example/MVVM-Example/Base.lproj/Main.storyboard new file mode 100644 index 0000000..25a7638 --- /dev/null +++ b/heerucan/MVVM-Example/MVVM-Example/Base.lproj/Main.storyboard @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/heerucan/MVVM-Example/MVVM-Example/Info.plist b/heerucan/MVVM-Example/MVVM-Example/Info.plist new file mode 100644 index 0000000..5b531f7 --- /dev/null +++ b/heerucan/MVVM-Example/MVVM-Example/Info.plist @@ -0,0 +1,66 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + $(PRODUCT_BUNDLE_PACKAGE_TYPE) + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + LSRequiresIPhoneOS + + UIApplicationSceneManifest + + UIApplicationSupportsMultipleScenes + + UISceneConfigurations + + UIWindowSceneSessionRoleApplication + + + UISceneConfigurationName + Default Configuration + UISceneDelegateClassName + $(PRODUCT_MODULE_NAME).SceneDelegate + UISceneStoryboardFile + Main + + + + + UIApplicationSupportsIndirectInputEvents + + UILaunchStoryboardName + LaunchScreen + UIMainStoryboardFile + Main + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/heerucan/MVVM-Example/MVVM-Example/SceneDelegate.swift b/heerucan/MVVM-Example/MVVM-Example/SceneDelegate.swift new file mode 100644 index 0000000..e1699f8 --- /dev/null +++ b/heerucan/MVVM-Example/MVVM-Example/SceneDelegate.swift @@ -0,0 +1,52 @@ +// +// SceneDelegate.swift +// MVVM-Example +// +// Created by SHIN YOON AH on 2021/08/19. +// + +import UIKit + +class SceneDelegate: UIResponder, UIWindowSceneDelegate { + + var window: UIWindow? + + + func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) { + // Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`. + // If using a storyboard, the `window` property will automatically be initialized and attached to the scene. + // This delegate does not imply the connecting scene or session are new (see `application:configurationForConnectingSceneSession` instead). + guard let _ = (scene as? UIWindowScene) else { return } + } + + func sceneDidDisconnect(_ scene: UIScene) { + // Called as the scene is being released by the system. + // This occurs shortly after the scene enters the background, or when its session is discarded. + // Release any resources associated with this scene that can be re-created the next time the scene connects. + // The scene may re-connect later, as its session was not necessarily discarded (see `application:didDiscardSceneSessions` instead). + } + + func sceneDidBecomeActive(_ scene: UIScene) { + // Called when the scene has moved from an inactive state to an active state. + // Use this method to restart any tasks that were paused (or not yet started) when the scene was inactive. + } + + func sceneWillResignActive(_ scene: UIScene) { + // Called when the scene will move from an active state to an inactive state. + // This may occur due to temporary interruptions (ex. an incoming phone call). + } + + func sceneWillEnterForeground(_ scene: UIScene) { + // Called as the scene transitions from the background to the foreground. + // Use this method to undo the changes made on entering the background. + } + + func sceneDidEnterBackground(_ scene: UIScene) { + // Called as the scene transitions from the foreground to the background. + // Use this method to save data, release shared resources, and store enough scene-specific state information + // to restore the scene back to its current state. + } + + +} + diff --git a/heerucan/MVVM-Example/MVVM-Example/ViewController.swift b/heerucan/MVVM-Example/MVVM-Example/ViewController.swift new file mode 100644 index 0000000..41878dc --- /dev/null +++ b/heerucan/MVVM-Example/MVVM-Example/ViewController.swift @@ -0,0 +1,19 @@ +// +// ViewController.swift +// MVVM-Example +// +// Created by SHIN YOON AH on 2021/08/19. +// + +import UIKit + +class ViewController: UIViewController { + + override func viewDidLoad() { + super.viewDidLoad() + // Do any additional setup after loading the view. + } + + +} + diff --git a/yangsubinn/MVVM-Example/MVVM-Example.xcodeproj/project.pbxproj b/yangsubinn/MVVM-Example/MVVM-Example.xcodeproj/project.pbxproj new file mode 100644 index 0000000..42b1de6 --- /dev/null +++ b/yangsubinn/MVVM-Example/MVVM-Example.xcodeproj/project.pbxproj @@ -0,0 +1,344 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 50; + objects = { + +/* Begin PBXBuildFile section */ + EDFAFF5B26CE3B5000704A69 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = EDFAFF5A26CE3B5000704A69 /* AppDelegate.swift */; }; + EDFAFF5D26CE3B5000704A69 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = EDFAFF5C26CE3B5000704A69 /* SceneDelegate.swift */; }; + EDFAFF5F26CE3B5000704A69 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = EDFAFF5E26CE3B5000704A69 /* ViewController.swift */; }; + EDFAFF6226CE3B5000704A69 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = EDFAFF6026CE3B5000704A69 /* Main.storyboard */; }; + EDFAFF6426CE3B5100704A69 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = EDFAFF6326CE3B5100704A69 /* Assets.xcassets */; }; + EDFAFF6726CE3B5100704A69 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = EDFAFF6526CE3B5100704A69 /* LaunchScreen.storyboard */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + EDFAFF5726CE3B5000704A69 /* MVVM-Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "MVVM-Example.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + EDFAFF5A26CE3B5000704A69 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + EDFAFF5C26CE3B5000704A69 /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = ""; }; + EDFAFF5E26CE3B5000704A69 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + EDFAFF6126CE3B5000704A69 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + EDFAFF6326CE3B5100704A69 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + EDFAFF6626CE3B5100704A69 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + EDFAFF6826CE3B5100704A69 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + EDFAFF5426CE3B5000704A69 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + EDFAFF4E26CE3B5000704A69 = { + isa = PBXGroup; + children = ( + EDFAFF5926CE3B5000704A69 /* MVVM-Example */, + EDFAFF5826CE3B5000704A69 /* Products */, + ); + sourceTree = ""; + }; + EDFAFF5826CE3B5000704A69 /* Products */ = { + isa = PBXGroup; + children = ( + EDFAFF5726CE3B5000704A69 /* MVVM-Example.app */, + ); + name = Products; + sourceTree = ""; + }; + EDFAFF5926CE3B5000704A69 /* MVVM-Example */ = { + isa = PBXGroup; + children = ( + EDFAFF5A26CE3B5000704A69 /* AppDelegate.swift */, + EDFAFF5C26CE3B5000704A69 /* SceneDelegate.swift */, + EDFAFF5E26CE3B5000704A69 /* ViewController.swift */, + EDFAFF6026CE3B5000704A69 /* Main.storyboard */, + EDFAFF6326CE3B5100704A69 /* Assets.xcassets */, + EDFAFF6526CE3B5100704A69 /* LaunchScreen.storyboard */, + EDFAFF6826CE3B5100704A69 /* Info.plist */, + ); + path = "MVVM-Example"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + EDFAFF5626CE3B5000704A69 /* MVVM-Example */ = { + isa = PBXNativeTarget; + buildConfigurationList = EDFAFF6B26CE3B5100704A69 /* Build configuration list for PBXNativeTarget "MVVM-Example" */; + buildPhases = ( + EDFAFF5326CE3B5000704A69 /* Sources */, + EDFAFF5426CE3B5000704A69 /* Frameworks */, + EDFAFF5526CE3B5000704A69 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "MVVM-Example"; + productName = "MVVM-Example"; + productReference = EDFAFF5726CE3B5000704A69 /* MVVM-Example.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + EDFAFF4F26CE3B5000704A69 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 1250; + LastUpgradeCheck = 1250; + TargetAttributes = { + EDFAFF5626CE3B5000704A69 = { + CreatedOnToolsVersion = 12.5.1; + }; + }; + }; + buildConfigurationList = EDFAFF5226CE3B5000704A69 /* Build configuration list for PBXProject "MVVM-Example" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = EDFAFF4E26CE3B5000704A69; + productRefGroup = EDFAFF5826CE3B5000704A69 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + EDFAFF5626CE3B5000704A69 /* MVVM-Example */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + EDFAFF5526CE3B5000704A69 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + EDFAFF6726CE3B5100704A69 /* LaunchScreen.storyboard in Resources */, + EDFAFF6426CE3B5100704A69 /* Assets.xcassets in Resources */, + EDFAFF6226CE3B5000704A69 /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + EDFAFF5326CE3B5000704A69 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + EDFAFF5F26CE3B5000704A69 /* ViewController.swift in Sources */, + EDFAFF5B26CE3B5000704A69 /* AppDelegate.swift in Sources */, + EDFAFF5D26CE3B5000704A69 /* SceneDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + EDFAFF6026CE3B5000704A69 /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + EDFAFF6126CE3B5000704A69 /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + EDFAFF6526CE3B5100704A69 /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + EDFAFF6626CE3B5100704A69 /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + EDFAFF6926CE3B5100704A69 /* 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++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = 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_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + 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 = 14.5; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + EDFAFF6A26CE3B5100704A69 /* 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++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = 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_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + 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 = 14.5; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + EDFAFF6C26CE3B5100704A69 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = "MVVM-Example/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.tiekle.MVVM-Example"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + EDFAFF6D26CE3B5100704A69 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = "MVVM-Example/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.tiekle.MVVM-Example"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + EDFAFF5226CE3B5000704A69 /* Build configuration list for PBXProject "MVVM-Example" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + EDFAFF6926CE3B5100704A69 /* Debug */, + EDFAFF6A26CE3B5100704A69 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + EDFAFF6B26CE3B5100704A69 /* Build configuration list for PBXNativeTarget "MVVM-Example" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + EDFAFF6C26CE3B5100704A69 /* Debug */, + EDFAFF6D26CE3B5100704A69 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = EDFAFF4F26CE3B5000704A69 /* Project object */; +} diff --git a/yangsubinn/MVVM-Example/MVVM-Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/yangsubinn/MVVM-Example/MVVM-Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/yangsubinn/MVVM-Example/MVVM-Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/yangsubinn/MVVM-Example/MVVM-Example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/yangsubinn/MVVM-Example/MVVM-Example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/yangsubinn/MVVM-Example/MVVM-Example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/yangsubinn/MVVM-Example/MVVM-Example/AppDelegate.swift b/yangsubinn/MVVM-Example/MVVM-Example/AppDelegate.swift new file mode 100644 index 0000000..bc73a29 --- /dev/null +++ b/yangsubinn/MVVM-Example/MVVM-Example/AppDelegate.swift @@ -0,0 +1,36 @@ +// +// AppDelegate.swift +// MVVM-Example +// +// Created by SHIN YOON AH on 2021/08/19. +// + +import UIKit + +@main +class AppDelegate: UIResponder, UIApplicationDelegate { + + + + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { + // Override point for customization after application launch. + return true + } + + // MARK: UISceneSession Lifecycle + + func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration { + // Called when a new scene session is being created. + // Use this method to select a configuration to create the new scene with. + return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role) + } + + func application(_ application: UIApplication, didDiscardSceneSessions sceneSessions: Set) { + // Called when the user discards a scene session. + // If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions. + // Use this method to release any resources that were specific to the discarded scenes, as they will not return. + } + + +} + diff --git a/yangsubinn/MVVM-Example/MVVM-Example/Assets.xcassets/AccentColor.colorset/Contents.json b/yangsubinn/MVVM-Example/MVVM-Example/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/yangsubinn/MVVM-Example/MVVM-Example/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/yangsubinn/MVVM-Example/MVVM-Example/Assets.xcassets/AppIcon.appiconset/Contents.json b/yangsubinn/MVVM-Example/MVVM-Example/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..9221b9b --- /dev/null +++ b/yangsubinn/MVVM-Example/MVVM-Example/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,98 @@ +{ + "images" : [ + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "20x20" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "20x20" + }, + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "29x29" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "29x29" + }, + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "40x40" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "40x40" + }, + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "60x60" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "60x60" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "20x20" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "20x20" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "29x29" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "29x29" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "40x40" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "40x40" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "76x76" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "76x76" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "83.5x83.5" + }, + { + "idiom" : "ios-marketing", + "scale" : "1x", + "size" : "1024x1024" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/yangsubinn/MVVM-Example/MVVM-Example/Assets.xcassets/Contents.json b/yangsubinn/MVVM-Example/MVVM-Example/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/yangsubinn/MVVM-Example/MVVM-Example/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/yangsubinn/MVVM-Example/MVVM-Example/Base.lproj/LaunchScreen.storyboard b/yangsubinn/MVVM-Example/MVVM-Example/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 0000000..865e932 --- /dev/null +++ b/yangsubinn/MVVM-Example/MVVM-Example/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/yangsubinn/MVVM-Example/MVVM-Example/Base.lproj/Main.storyboard b/yangsubinn/MVVM-Example/MVVM-Example/Base.lproj/Main.storyboard new file mode 100644 index 0000000..25a7638 --- /dev/null +++ b/yangsubinn/MVVM-Example/MVVM-Example/Base.lproj/Main.storyboard @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/yangsubinn/MVVM-Example/MVVM-Example/Info.plist b/yangsubinn/MVVM-Example/MVVM-Example/Info.plist new file mode 100644 index 0000000..5b531f7 --- /dev/null +++ b/yangsubinn/MVVM-Example/MVVM-Example/Info.plist @@ -0,0 +1,66 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + $(PRODUCT_BUNDLE_PACKAGE_TYPE) + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + LSRequiresIPhoneOS + + UIApplicationSceneManifest + + UIApplicationSupportsMultipleScenes + + UISceneConfigurations + + UIWindowSceneSessionRoleApplication + + + UISceneConfigurationName + Default Configuration + UISceneDelegateClassName + $(PRODUCT_MODULE_NAME).SceneDelegate + UISceneStoryboardFile + Main + + + + + UIApplicationSupportsIndirectInputEvents + + UILaunchStoryboardName + LaunchScreen + UIMainStoryboardFile + Main + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/yangsubinn/MVVM-Example/MVVM-Example/SceneDelegate.swift b/yangsubinn/MVVM-Example/MVVM-Example/SceneDelegate.swift new file mode 100644 index 0000000..e1699f8 --- /dev/null +++ b/yangsubinn/MVVM-Example/MVVM-Example/SceneDelegate.swift @@ -0,0 +1,52 @@ +// +// SceneDelegate.swift +// MVVM-Example +// +// Created by SHIN YOON AH on 2021/08/19. +// + +import UIKit + +class SceneDelegate: UIResponder, UIWindowSceneDelegate { + + var window: UIWindow? + + + func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) { + // Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`. + // If using a storyboard, the `window` property will automatically be initialized and attached to the scene. + // This delegate does not imply the connecting scene or session are new (see `application:configurationForConnectingSceneSession` instead). + guard let _ = (scene as? UIWindowScene) else { return } + } + + func sceneDidDisconnect(_ scene: UIScene) { + // Called as the scene is being released by the system. + // This occurs shortly after the scene enters the background, or when its session is discarded. + // Release any resources associated with this scene that can be re-created the next time the scene connects. + // The scene may re-connect later, as its session was not necessarily discarded (see `application:didDiscardSceneSessions` instead). + } + + func sceneDidBecomeActive(_ scene: UIScene) { + // Called when the scene has moved from an inactive state to an active state. + // Use this method to restart any tasks that were paused (or not yet started) when the scene was inactive. + } + + func sceneWillResignActive(_ scene: UIScene) { + // Called when the scene will move from an active state to an inactive state. + // This may occur due to temporary interruptions (ex. an incoming phone call). + } + + func sceneWillEnterForeground(_ scene: UIScene) { + // Called as the scene transitions from the background to the foreground. + // Use this method to undo the changes made on entering the background. + } + + func sceneDidEnterBackground(_ scene: UIScene) { + // Called as the scene transitions from the foreground to the background. + // Use this method to save data, release shared resources, and store enough scene-specific state information + // to restore the scene back to its current state. + } + + +} + diff --git a/yangsubinn/MVVM-Example/MVVM-Example/ViewController.swift b/yangsubinn/MVVM-Example/MVVM-Example/ViewController.swift new file mode 100644 index 0000000..41878dc --- /dev/null +++ b/yangsubinn/MVVM-Example/MVVM-Example/ViewController.swift @@ -0,0 +1,19 @@ +// +// ViewController.swift +// MVVM-Example +// +// Created by SHIN YOON AH on 2021/08/19. +// + +import UIKit + +class ViewController: UIViewController { + + override func viewDidLoad() { + super.viewDidLoad() + // Do any additional setup after loading the view. + } + + +} + diff --git a/yoonah-dev/MVVM-Example/MVVM-Example.xcodeproj/project.pbxproj b/yoonah-dev/MVVM-Example/MVVM-Example.xcodeproj/project.pbxproj new file mode 100644 index 0000000..92feb67 --- /dev/null +++ b/yoonah-dev/MVVM-Example/MVVM-Example.xcodeproj/project.pbxproj @@ -0,0 +1,344 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 50; + objects = { + +/* Begin PBXBuildFile section */ + EDFAFF7B26CE3B6F00704A69 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = EDFAFF7A26CE3B6F00704A69 /* AppDelegate.swift */; }; + EDFAFF7D26CE3B6F00704A69 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = EDFAFF7C26CE3B6F00704A69 /* SceneDelegate.swift */; }; + EDFAFF7F26CE3B6F00704A69 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = EDFAFF7E26CE3B6F00704A69 /* ViewController.swift */; }; + EDFAFF8226CE3B6F00704A69 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = EDFAFF8026CE3B6F00704A69 /* Main.storyboard */; }; + EDFAFF8426CE3B6F00704A69 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = EDFAFF8326CE3B6F00704A69 /* Assets.xcassets */; }; + EDFAFF8726CE3B6F00704A69 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = EDFAFF8526CE3B6F00704A69 /* LaunchScreen.storyboard */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + EDFAFF7726CE3B6F00704A69 /* MVVM-Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "MVVM-Example.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + EDFAFF7A26CE3B6F00704A69 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + EDFAFF7C26CE3B6F00704A69 /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = ""; }; + EDFAFF7E26CE3B6F00704A69 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + EDFAFF8126CE3B6F00704A69 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + EDFAFF8326CE3B6F00704A69 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + EDFAFF8626CE3B6F00704A69 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + EDFAFF8826CE3B6F00704A69 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + EDFAFF7426CE3B6F00704A69 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + EDFAFF6E26CE3B6F00704A69 = { + isa = PBXGroup; + children = ( + EDFAFF7926CE3B6F00704A69 /* MVVM-Example */, + EDFAFF7826CE3B6F00704A69 /* Products */, + ); + sourceTree = ""; + }; + EDFAFF7826CE3B6F00704A69 /* Products */ = { + isa = PBXGroup; + children = ( + EDFAFF7726CE3B6F00704A69 /* MVVM-Example.app */, + ); + name = Products; + sourceTree = ""; + }; + EDFAFF7926CE3B6F00704A69 /* MVVM-Example */ = { + isa = PBXGroup; + children = ( + EDFAFF7A26CE3B6F00704A69 /* AppDelegate.swift */, + EDFAFF7C26CE3B6F00704A69 /* SceneDelegate.swift */, + EDFAFF7E26CE3B6F00704A69 /* ViewController.swift */, + EDFAFF8026CE3B6F00704A69 /* Main.storyboard */, + EDFAFF8326CE3B6F00704A69 /* Assets.xcassets */, + EDFAFF8526CE3B6F00704A69 /* LaunchScreen.storyboard */, + EDFAFF8826CE3B6F00704A69 /* Info.plist */, + ); + path = "MVVM-Example"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + EDFAFF7626CE3B6F00704A69 /* MVVM-Example */ = { + isa = PBXNativeTarget; + buildConfigurationList = EDFAFF8B26CE3B6F00704A69 /* Build configuration list for PBXNativeTarget "MVVM-Example" */; + buildPhases = ( + EDFAFF7326CE3B6F00704A69 /* Sources */, + EDFAFF7426CE3B6F00704A69 /* Frameworks */, + EDFAFF7526CE3B6F00704A69 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "MVVM-Example"; + productName = "MVVM-Example"; + productReference = EDFAFF7726CE3B6F00704A69 /* MVVM-Example.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + EDFAFF6F26CE3B6F00704A69 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 1250; + LastUpgradeCheck = 1250; + TargetAttributes = { + EDFAFF7626CE3B6F00704A69 = { + CreatedOnToolsVersion = 12.5.1; + }; + }; + }; + buildConfigurationList = EDFAFF7226CE3B6F00704A69 /* Build configuration list for PBXProject "MVVM-Example" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = EDFAFF6E26CE3B6F00704A69; + productRefGroup = EDFAFF7826CE3B6F00704A69 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + EDFAFF7626CE3B6F00704A69 /* MVVM-Example */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + EDFAFF7526CE3B6F00704A69 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + EDFAFF8726CE3B6F00704A69 /* LaunchScreen.storyboard in Resources */, + EDFAFF8426CE3B6F00704A69 /* Assets.xcassets in Resources */, + EDFAFF8226CE3B6F00704A69 /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + EDFAFF7326CE3B6F00704A69 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + EDFAFF7F26CE3B6F00704A69 /* ViewController.swift in Sources */, + EDFAFF7B26CE3B6F00704A69 /* AppDelegate.swift in Sources */, + EDFAFF7D26CE3B6F00704A69 /* SceneDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + EDFAFF8026CE3B6F00704A69 /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + EDFAFF8126CE3B6F00704A69 /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + EDFAFF8526CE3B6F00704A69 /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + EDFAFF8626CE3B6F00704A69 /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + EDFAFF8926CE3B6F00704A69 /* 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++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = 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_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + 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 = 14.5; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + EDFAFF8A26CE3B6F00704A69 /* 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++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = 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_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + 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 = 14.5; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + EDFAFF8C26CE3B6F00704A69 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = "MVVM-Example/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.tiekle.MVVM-Example"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + EDFAFF8D26CE3B6F00704A69 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = "MVVM-Example/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.tiekle.MVVM-Example"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + EDFAFF7226CE3B6F00704A69 /* Build configuration list for PBXProject "MVVM-Example" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + EDFAFF8926CE3B6F00704A69 /* Debug */, + EDFAFF8A26CE3B6F00704A69 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + EDFAFF8B26CE3B6F00704A69 /* Build configuration list for PBXNativeTarget "MVVM-Example" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + EDFAFF8C26CE3B6F00704A69 /* Debug */, + EDFAFF8D26CE3B6F00704A69 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = EDFAFF6F26CE3B6F00704A69 /* Project object */; +} diff --git a/yoonah-dev/MVVM-Example/MVVM-Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/yoonah-dev/MVVM-Example/MVVM-Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/yoonah-dev/MVVM-Example/MVVM-Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/yoonah-dev/MVVM-Example/MVVM-Example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/yoonah-dev/MVVM-Example/MVVM-Example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/yoonah-dev/MVVM-Example/MVVM-Example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/yoonah-dev/MVVM-Example/MVVM-Example/AppDelegate.swift b/yoonah-dev/MVVM-Example/MVVM-Example/AppDelegate.swift new file mode 100644 index 0000000..bc73a29 --- /dev/null +++ b/yoonah-dev/MVVM-Example/MVVM-Example/AppDelegate.swift @@ -0,0 +1,36 @@ +// +// AppDelegate.swift +// MVVM-Example +// +// Created by SHIN YOON AH on 2021/08/19. +// + +import UIKit + +@main +class AppDelegate: UIResponder, UIApplicationDelegate { + + + + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { + // Override point for customization after application launch. + return true + } + + // MARK: UISceneSession Lifecycle + + func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration { + // Called when a new scene session is being created. + // Use this method to select a configuration to create the new scene with. + return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role) + } + + func application(_ application: UIApplication, didDiscardSceneSessions sceneSessions: Set) { + // Called when the user discards a scene session. + // If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions. + // Use this method to release any resources that were specific to the discarded scenes, as they will not return. + } + + +} + diff --git a/yoonah-dev/MVVM-Example/MVVM-Example/Assets.xcassets/AccentColor.colorset/Contents.json b/yoonah-dev/MVVM-Example/MVVM-Example/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/yoonah-dev/MVVM-Example/MVVM-Example/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/yoonah-dev/MVVM-Example/MVVM-Example/Assets.xcassets/AppIcon.appiconset/Contents.json b/yoonah-dev/MVVM-Example/MVVM-Example/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..9221b9b --- /dev/null +++ b/yoonah-dev/MVVM-Example/MVVM-Example/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,98 @@ +{ + "images" : [ + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "20x20" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "20x20" + }, + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "29x29" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "29x29" + }, + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "40x40" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "40x40" + }, + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "60x60" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "60x60" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "20x20" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "20x20" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "29x29" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "29x29" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "40x40" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "40x40" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "76x76" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "76x76" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "83.5x83.5" + }, + { + "idiom" : "ios-marketing", + "scale" : "1x", + "size" : "1024x1024" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/yoonah-dev/MVVM-Example/MVVM-Example/Assets.xcassets/Contents.json b/yoonah-dev/MVVM-Example/MVVM-Example/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/yoonah-dev/MVVM-Example/MVVM-Example/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/yoonah-dev/MVVM-Example/MVVM-Example/Base.lproj/LaunchScreen.storyboard b/yoonah-dev/MVVM-Example/MVVM-Example/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 0000000..865e932 --- /dev/null +++ b/yoonah-dev/MVVM-Example/MVVM-Example/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/yoonah-dev/MVVM-Example/MVVM-Example/Base.lproj/Main.storyboard b/yoonah-dev/MVVM-Example/MVVM-Example/Base.lproj/Main.storyboard new file mode 100644 index 0000000..25a7638 --- /dev/null +++ b/yoonah-dev/MVVM-Example/MVVM-Example/Base.lproj/Main.storyboard @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/yoonah-dev/MVVM-Example/MVVM-Example/Info.plist b/yoonah-dev/MVVM-Example/MVVM-Example/Info.plist new file mode 100644 index 0000000..5b531f7 --- /dev/null +++ b/yoonah-dev/MVVM-Example/MVVM-Example/Info.plist @@ -0,0 +1,66 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + $(PRODUCT_BUNDLE_PACKAGE_TYPE) + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + LSRequiresIPhoneOS + + UIApplicationSceneManifest + + UIApplicationSupportsMultipleScenes + + UISceneConfigurations + + UIWindowSceneSessionRoleApplication + + + UISceneConfigurationName + Default Configuration + UISceneDelegateClassName + $(PRODUCT_MODULE_NAME).SceneDelegate + UISceneStoryboardFile + Main + + + + + UIApplicationSupportsIndirectInputEvents + + UILaunchStoryboardName + LaunchScreen + UIMainStoryboardFile + Main + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/yoonah-dev/MVVM-Example/MVVM-Example/SceneDelegate.swift b/yoonah-dev/MVVM-Example/MVVM-Example/SceneDelegate.swift new file mode 100644 index 0000000..e1699f8 --- /dev/null +++ b/yoonah-dev/MVVM-Example/MVVM-Example/SceneDelegate.swift @@ -0,0 +1,52 @@ +// +// SceneDelegate.swift +// MVVM-Example +// +// Created by SHIN YOON AH on 2021/08/19. +// + +import UIKit + +class SceneDelegate: UIResponder, UIWindowSceneDelegate { + + var window: UIWindow? + + + func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) { + // Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`. + // If using a storyboard, the `window` property will automatically be initialized and attached to the scene. + // This delegate does not imply the connecting scene or session are new (see `application:configurationForConnectingSceneSession` instead). + guard let _ = (scene as? UIWindowScene) else { return } + } + + func sceneDidDisconnect(_ scene: UIScene) { + // Called as the scene is being released by the system. + // This occurs shortly after the scene enters the background, or when its session is discarded. + // Release any resources associated with this scene that can be re-created the next time the scene connects. + // The scene may re-connect later, as its session was not necessarily discarded (see `application:didDiscardSceneSessions` instead). + } + + func sceneDidBecomeActive(_ scene: UIScene) { + // Called when the scene has moved from an inactive state to an active state. + // Use this method to restart any tasks that were paused (or not yet started) when the scene was inactive. + } + + func sceneWillResignActive(_ scene: UIScene) { + // Called when the scene will move from an active state to an inactive state. + // This may occur due to temporary interruptions (ex. an incoming phone call). + } + + func sceneWillEnterForeground(_ scene: UIScene) { + // Called as the scene transitions from the background to the foreground. + // Use this method to undo the changes made on entering the background. + } + + func sceneDidEnterBackground(_ scene: UIScene) { + // Called as the scene transitions from the foreground to the background. + // Use this method to save data, release shared resources, and store enough scene-specific state information + // to restore the scene back to its current state. + } + + +} + diff --git a/yoonah-dev/MVVM-Example/MVVM-Example/ViewController.swift b/yoonah-dev/MVVM-Example/MVVM-Example/ViewController.swift new file mode 100644 index 0000000..41878dc --- /dev/null +++ b/yoonah-dev/MVVM-Example/MVVM-Example/ViewController.swift @@ -0,0 +1,19 @@ +// +// ViewController.swift +// MVVM-Example +// +// Created by SHIN YOON AH on 2021/08/19. +// + +import UIKit + +class ViewController: UIViewController { + + override func viewDidLoad() { + super.viewDidLoad() + // Do any additional setup after loading the view. + } + + +} +