diff --git a/Hous-iOS/Hous-iOS.xcodeproj/project.pbxproj b/Hous-iOS/Hous-iOS.xcodeproj/project.pbxproj new file mode 100644 index 0000000..1c4d4d7 --- /dev/null +++ b/Hous-iOS/Hous-iOS.xcodeproj/project.pbxproj @@ -0,0 +1,609 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 55; + objects = { + +/* Begin PBXBuildFile section */ + B80510A22876D2D10025B767 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = B80510A12876D2D10025B767 /* AppDelegate.swift */; }; + B80510A42876D2D10025B767 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = B80510A32876D2D10025B767 /* SceneDelegate.swift */; }; + B80510AB2876D2D20025B767 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = B80510AA2876D2D20025B767 /* Assets.xcassets */; }; + B80510AE2876D2D20025B767 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = B80510AC2876D2D20025B767 /* LaunchScreen.storyboard */; }; + B80510BF2876D33D0025B767 /* ProfileViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = B80510BE2876D33D0025B767 /* ProfileViewController.swift */; }; + B80510C12876D3610025B767 /* RulesViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = B80510C02876D3610025B767 /* RulesViewController.swift */; }; + B80510C32876D36A0025B767 /* HomeViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = B80510C22876D36A0025B767 /* HomeViewController.swift */; }; + B80510C52876D3840025B767 /* Asset.swift in Sources */ = {isa = PBXBuildFile; fileRef = B80510C42876D3840025B767 /* Asset.swift */; }; + B80510C72876D38A0025B767 /* UIFont+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = B80510C62876D38A0025B767 /* UIFont+Extension.swift */; }; + B80510CB2876D5B10025B767 /* SpoqaHanSansNeo-Bold.otf in Resources */ = {isa = PBXBuildFile; fileRef = B80510C92876D5B00025B767 /* SpoqaHanSansNeo-Bold.otf */; }; + B80510CC2876D5B10025B767 /* SpoqaHanSansNeo-Medium.otf in Resources */ = {isa = PBXBuildFile; fileRef = B80510CA2876D5B10025B767 /* SpoqaHanSansNeo-Medium.otf */; }; + B80510D12876D5D70025B767 /* Montserrat-Medium.otf in Resources */ = {isa = PBXBuildFile; fileRef = B80510CD2876D5D70025B767 /* Montserrat-Medium.otf */; }; + B80510D22876D5D70025B767 /* Montserrat-SemiBold.otf in Resources */ = {isa = PBXBuildFile; fileRef = B80510CE2876D5D70025B767 /* Montserrat-SemiBold.otf */; }; + B80510D32876D5D70025B767 /* Montserrat-Bold.otf in Resources */ = {isa = PBXBuildFile; fileRef = B80510CF2876D5D70025B767 /* Montserrat-Bold.otf */; }; + B80510D42876D5D70025B767 /* Montserrat-Regular.otf in Resources */ = {isa = PBXBuildFile; fileRef = B80510D02876D5D70025B767 /* Montserrat-Regular.otf */; }; + B80510D72876D6440025B767 /* SnapKit in Frameworks */ = {isa = PBXBuildFile; productRef = B80510D62876D6440025B767 /* SnapKit */; }; + B80510DA2876D64B0025B767 /* Then in Frameworks */ = {isa = PBXBuildFile; productRef = B80510D92876D64B0025B767 /* Then */; }; + B80510DD2876D6540025B767 /* Alamofire in Frameworks */ = {isa = PBXBuildFile; productRef = B80510DC2876D6540025B767 /* Alamofire */; }; + B80510E02876D65E0025B767 /* RxCocoa in Frameworks */ = {isa = PBXBuildFile; productRef = B80510DF2876D65E0025B767 /* RxCocoa */; }; + B80510E22876D65E0025B767 /* RxSwift in Frameworks */ = {isa = PBXBuildFile; productRef = B80510E12876D65E0025B767 /* RxSwift */; }; + B80510E42876D6B10025B767 /* APIConstants.swift in Sources */ = {isa = PBXBuildFile; fileRef = B80510E32876D6B10025B767 /* APIConstants.swift */; }; + B80510E62876D6F10025B767 /* NetworkResult.swift in Sources */ = {isa = PBXBuildFile; fileRef = B80510E52876D6F10025B767 /* NetworkResult.swift */; }; + B80510EB2876D7840025B767 /* HTTPHeaderField.swift in Sources */ = {isa = PBXBuildFile; fileRef = B80510EA2876D7840025B767 /* HTTPHeaderField.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + B805109E2876D2D10025B767 /* Hous-iOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Hous-iOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + B80510A12876D2D10025B767 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + B80510A32876D2D10025B767 /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = ""; }; + B80510AA2876D2D20025B767 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + B80510AD2876D2D20025B767 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + B80510AF2876D2D20025B767 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + B80510BE2876D33D0025B767 /* ProfileViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ProfileViewController.swift; sourceTree = ""; }; + B80510C02876D3610025B767 /* RulesViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RulesViewController.swift; sourceTree = ""; }; + B80510C22876D36A0025B767 /* HomeViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HomeViewController.swift; sourceTree = ""; }; + B80510C42876D3840025B767 /* Asset.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Asset.swift; sourceTree = ""; }; + B80510C62876D38A0025B767 /* UIFont+Extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UIFont+Extension.swift"; sourceTree = ""; }; + B80510C92876D5B00025B767 /* SpoqaHanSansNeo-Bold.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "SpoqaHanSansNeo-Bold.otf"; sourceTree = ""; }; + B80510CA2876D5B10025B767 /* SpoqaHanSansNeo-Medium.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "SpoqaHanSansNeo-Medium.otf"; sourceTree = ""; }; + B80510CD2876D5D70025B767 /* Montserrat-Medium.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "Montserrat-Medium.otf"; sourceTree = ""; }; + B80510CE2876D5D70025B767 /* Montserrat-SemiBold.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "Montserrat-SemiBold.otf"; sourceTree = ""; }; + B80510CF2876D5D70025B767 /* Montserrat-Bold.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "Montserrat-Bold.otf"; sourceTree = ""; }; + B80510D02876D5D70025B767 /* Montserrat-Regular.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "Montserrat-Regular.otf"; sourceTree = ""; }; + B80510E32876D6B10025B767 /* APIConstants.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = APIConstants.swift; sourceTree = ""; }; + B80510E52876D6F10025B767 /* NetworkResult.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NetworkResult.swift; sourceTree = ""; }; + B80510EA2876D7840025B767 /* HTTPHeaderField.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HTTPHeaderField.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + B805109B2876D2D10025B767 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + B80510DD2876D6540025B767 /* Alamofire in Frameworks */, + B80510D72876D6440025B767 /* SnapKit in Frameworks */, + B80510E22876D65E0025B767 /* RxSwift in Frameworks */, + B80510E02876D65E0025B767 /* RxCocoa in Frameworks */, + B80510DA2876D64B0025B767 /* Then in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + B80510952876D2D10025B767 = { + isa = PBXGroup; + children = ( + B80510A02876D2D10025B767 /* Hous-iOS */, + B805109F2876D2D10025B767 /* Products */, + ); + indentWidth = 2; + sourceTree = ""; + tabWidth = 2; + }; + B805109F2876D2D10025B767 /* Products */ = { + isa = PBXGroup; + children = ( + B805109E2876D2D10025B767 /* Hous-iOS.app */, + ); + name = Products; + sourceTree = ""; + }; + B80510A02876D2D10025B767 /* Hous-iOS */ = { + isa = PBXGroup; + children = ( + B80510B72876D2F30025B767 /* Screens */, + B80510B62876D2EF0025B767 /* Global */, + B80510B52876D2E00025B767 /* Network */, + ); + path = "Hous-iOS"; + sourceTree = ""; + }; + B80510B52876D2E00025B767 /* Network */ = { + isa = PBXGroup; + children = ( + B80510E92876D7750025B767 /* Model */, + B80510E82876D7690025B767 /* HTTP */, + B80510E72876D7650025B767 /* API */, + B80510E32876D6B10025B767 /* APIConstants.swift */, + ); + path = Network; + sourceTree = ""; + }; + B80510B62876D2EF0025B767 /* Global */ = { + isa = PBXGroup; + children = ( + B80510BA2876D30E0025B767 /* Extension */, + B80510B92876D3090025B767 /* Resource */, + B80510B82876D3040025B767 /* Supports */, + ); + path = Global; + sourceTree = ""; + }; + B80510B72876D2F30025B767 /* Screens */ = { + isa = PBXGroup; + children = ( + B80510BD2876D3330025B767 /* Home */, + B80510BC2876D32D0025B767 /* Rules */, + B80510BB2876D3290025B767 /* Profile */, + ); + path = Screens; + sourceTree = ""; + }; + B80510B82876D3040025B767 /* Supports */ = { + isa = PBXGroup; + children = ( + B80510A12876D2D10025B767 /* AppDelegate.swift */, + B80510A32876D2D10025B767 /* SceneDelegate.swift */, + B80510AF2876D2D20025B767 /* Info.plist */, + ); + path = Supports; + sourceTree = ""; + }; + B80510B92876D3090025B767 /* Resource */ = { + isa = PBXGroup; + children = ( + B80510C82876D3E80025B767 /* Font */, + B80510AA2876D2D20025B767 /* Assets.xcassets */, + B80510AC2876D2D20025B767 /* LaunchScreen.storyboard */, + ); + path = Resource; + sourceTree = ""; + }; + B80510BA2876D30E0025B767 /* Extension */ = { + isa = PBXGroup; + children = ( + B80510C42876D3840025B767 /* Asset.swift */, + B80510C62876D38A0025B767 /* UIFont+Extension.swift */, + ); + path = Extension; + sourceTree = ""; + }; + B80510BB2876D3290025B767 /* Profile */ = { + isa = PBXGroup; + children = ( + B80510BE2876D33D0025B767 /* ProfileViewController.swift */, + ); + path = Profile; + sourceTree = ""; + }; + B80510BC2876D32D0025B767 /* Rules */ = { + isa = PBXGroup; + children = ( + B80510C02876D3610025B767 /* RulesViewController.swift */, + ); + path = Rules; + sourceTree = ""; + }; + B80510BD2876D3330025B767 /* Home */ = { + isa = PBXGroup; + children = ( + B80510C22876D36A0025B767 /* HomeViewController.swift */, + ); + path = Home; + sourceTree = ""; + }; + B80510C82876D3E80025B767 /* Font */ = { + isa = PBXGroup; + children = ( + B80510CF2876D5D70025B767 /* Montserrat-Bold.otf */, + B80510CD2876D5D70025B767 /* Montserrat-Medium.otf */, + B80510D02876D5D70025B767 /* Montserrat-Regular.otf */, + B80510CE2876D5D70025B767 /* Montserrat-SemiBold.otf */, + B80510C92876D5B00025B767 /* SpoqaHanSansNeo-Bold.otf */, + B80510CA2876D5B10025B767 /* SpoqaHanSansNeo-Medium.otf */, + ); + path = Font; + sourceTree = ""; + }; + B80510E72876D7650025B767 /* API */ = { + isa = PBXGroup; + children = ( + ); + path = API; + sourceTree = ""; + }; + B80510E82876D7690025B767 /* HTTP */ = { + isa = PBXGroup; + children = ( + B80510EA2876D7840025B767 /* HTTPHeaderField.swift */, + ); + path = HTTP; + sourceTree = ""; + }; + B80510E92876D7750025B767 /* Model */ = { + isa = PBXGroup; + children = ( + B80510E52876D6F10025B767 /* NetworkResult.swift */, + ); + path = Model; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + B805109D2876D2D10025B767 /* Hous-iOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = B80510B22876D2D20025B767 /* Build configuration list for PBXNativeTarget "Hous-iOS" */; + buildPhases = ( + B805109A2876D2D10025B767 /* Sources */, + B805109B2876D2D10025B767 /* Frameworks */, + B805109C2876D2D10025B767 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "Hous-iOS"; + packageProductDependencies = ( + B80510D62876D6440025B767 /* SnapKit */, + B80510D92876D64B0025B767 /* Then */, + B80510DC2876D6540025B767 /* Alamofire */, + B80510DF2876D65E0025B767 /* RxCocoa */, + B80510E12876D65E0025B767 /* RxSwift */, + ); + productName = "Hous-iOS"; + productReference = B805109E2876D2D10025B767 /* Hous-iOS.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + B80510962876D2D10025B767 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1300; + LastUpgradeCheck = 1300; + TargetAttributes = { + B805109D2876D2D10025B767 = { + CreatedOnToolsVersion = 13.0; + }; + }; + }; + buildConfigurationList = B80510992876D2D10025B767 /* Build configuration list for PBXProject "Hous-iOS" */; + compatibilityVersion = "Xcode 13.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = B80510952876D2D10025B767; + packageReferences = ( + B80510D52876D6440025B767 /* XCRemoteSwiftPackageReference "SnapKit" */, + B80510D82876D64B0025B767 /* XCRemoteSwiftPackageReference "Then" */, + B80510DB2876D6540025B767 /* XCRemoteSwiftPackageReference "Alamofire" */, + B80510DE2876D65E0025B767 /* XCRemoteSwiftPackageReference "RxSwift" */, + ); + productRefGroup = B805109F2876D2D10025B767 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + B805109D2876D2D10025B767 /* Hous-iOS */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + B805109C2876D2D10025B767 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + B80510CB2876D5B10025B767 /* SpoqaHanSansNeo-Bold.otf in Resources */, + B80510D12876D5D70025B767 /* Montserrat-Medium.otf in Resources */, + B80510D32876D5D70025B767 /* Montserrat-Bold.otf in Resources */, + B80510D42876D5D70025B767 /* Montserrat-Regular.otf in Resources */, + B80510CC2876D5B10025B767 /* SpoqaHanSansNeo-Medium.otf in Resources */, + B80510D22876D5D70025B767 /* Montserrat-SemiBold.otf in Resources */, + B80510AE2876D2D20025B767 /* LaunchScreen.storyboard in Resources */, + B80510AB2876D2D20025B767 /* Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + B805109A2876D2D10025B767 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + B80510C12876D3610025B767 /* RulesViewController.swift in Sources */, + B80510EB2876D7840025B767 /* HTTPHeaderField.swift in Sources */, + B80510C52876D3840025B767 /* Asset.swift in Sources */, + B80510A22876D2D10025B767 /* AppDelegate.swift in Sources */, + B80510E62876D6F10025B767 /* NetworkResult.swift in Sources */, + B80510BF2876D33D0025B767 /* ProfileViewController.swift in Sources */, + B80510E42876D6B10025B767 /* APIConstants.swift in Sources */, + B80510A42876D2D10025B767 /* SceneDelegate.swift in Sources */, + B80510C72876D38A0025B767 /* UIFont+Extension.swift in Sources */, + B80510C32876D36A0025B767 /* HomeViewController.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + B80510AC2876D2D20025B767 /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + B80510AD2876D2D20025B767 /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + B80510B02876D2D20025B767 /* 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++17"; + 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 = 15.0; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + OTHER_LDFLAGS = ( + "$(inherited)", + "-Xlinker", + "-interposable", + "-all_load", + ); + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + B80510B12876D2D20025B767 /* 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++17"; + 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 = 15.0; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + OTHER_LDFLAGS = ( + "$(inherited)", + "-Xlinker", + "-interposable", + "-all_load", + ); + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + B80510B32876D2D20025B767 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = B849TJY5N4; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = "Hous-iOS/Global/Supports/Info.plist"; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen; + INFOPLIST_KEY_UIMainStoryboardFile = Main; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "com.jihyeon.Hous-iOS"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + B80510B42876D2D20025B767 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = B849TJY5N4; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = "Hous-iOS/Global/Supports/Info.plist"; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen; + INFOPLIST_KEY_UIMainStoryboardFile = Main; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "com.jihyeon.Hous-iOS"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + B80510992876D2D10025B767 /* Build configuration list for PBXProject "Hous-iOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + B80510B02876D2D20025B767 /* Debug */, + B80510B12876D2D20025B767 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + B80510B22876D2D20025B767 /* Build configuration list for PBXNativeTarget "Hous-iOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + B80510B32876D2D20025B767 /* Debug */, + B80510B42876D2D20025B767 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + +/* Begin XCRemoteSwiftPackageReference section */ + B80510D52876D6440025B767 /* XCRemoteSwiftPackageReference "SnapKit" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/SnapKit/SnapKit.git"; + requirement = { + kind = upToNextMajorVersion; + minimumVersion = 5.0.0; + }; + }; + B80510D82876D64B0025B767 /* XCRemoteSwiftPackageReference "Then" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/devxoul/Then.git"; + requirement = { + kind = upToNextMajorVersion; + minimumVersion = 3.0.0; + }; + }; + B80510DB2876D6540025B767 /* XCRemoteSwiftPackageReference "Alamofire" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/Alamofire/Alamofire.git"; + requirement = { + kind = upToNextMajorVersion; + minimumVersion = 5.0.0; + }; + }; + B80510DE2876D65E0025B767 /* XCRemoteSwiftPackageReference "RxSwift" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/ReactiveX/RxSwift.git"; + requirement = { + kind = upToNextMajorVersion; + minimumVersion = 6.0.0; + }; + }; +/* End XCRemoteSwiftPackageReference section */ + +/* Begin XCSwiftPackageProductDependency section */ + B80510D62876D6440025B767 /* SnapKit */ = { + isa = XCSwiftPackageProductDependency; + package = B80510D52876D6440025B767 /* XCRemoteSwiftPackageReference "SnapKit" */; + productName = SnapKit; + }; + B80510D92876D64B0025B767 /* Then */ = { + isa = XCSwiftPackageProductDependency; + package = B80510D82876D64B0025B767 /* XCRemoteSwiftPackageReference "Then" */; + productName = Then; + }; + B80510DC2876D6540025B767 /* Alamofire */ = { + isa = XCSwiftPackageProductDependency; + package = B80510DB2876D6540025B767 /* XCRemoteSwiftPackageReference "Alamofire" */; + productName = Alamofire; + }; + B80510DF2876D65E0025B767 /* RxCocoa */ = { + isa = XCSwiftPackageProductDependency; + package = B80510DE2876D65E0025B767 /* XCRemoteSwiftPackageReference "RxSwift" */; + productName = RxCocoa; + }; + B80510E12876D65E0025B767 /* RxSwift */ = { + isa = XCSwiftPackageProductDependency; + package = B80510DE2876D65E0025B767 /* XCRemoteSwiftPackageReference "RxSwift" */; + productName = RxSwift; + }; +/* End XCSwiftPackageProductDependency section */ + }; + rootObject = B80510962876D2D10025B767 /* Project object */; +} diff --git a/Hous-iOS/Hous-iOS.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Hous-iOS/Hous-iOS.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/Hous-iOS/Hous-iOS.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Hous-iOS/Hous-iOS.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Hous-iOS/Hous-iOS.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/Hous-iOS/Hous-iOS.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/Hous-iOS/Hous-iOS.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/Hous-iOS/Hous-iOS.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved new file mode 100644 index 0000000..d2a13fa --- /dev/null +++ b/Hous-iOS/Hous-iOS.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -0,0 +1,43 @@ +{ + "object": { + "pins": [ + { + "package": "Alamofire", + "repositoryURL": "https://github.com/Alamofire/Alamofire.git", + "state": { + "branch": null, + "revision": "354dda32d89fc8cd4f5c46487f64957d355f53d8", + "version": "5.6.1" + } + }, + { + "package": "RxSwift", + "repositoryURL": "https://github.com/ReactiveX/RxSwift.git", + "state": { + "branch": null, + "revision": "b4307ba0b6425c0ba4178e138799946c3da594f8", + "version": "6.5.0" + } + }, + { + "package": "SnapKit", + "repositoryURL": "https://github.com/SnapKit/SnapKit.git", + "state": { + "branch": null, + "revision": "f222cbdf325885926566172f6f5f06af95473158", + "version": "5.6.0" + } + }, + { + "package": "Then", + "repositoryURL": "https://github.com/devxoul/Then.git", + "state": { + "branch": null, + "revision": "d41ef523faef0f911369f79c0b96815d9dbb6d7a", + "version": "3.0.0" + } + } + ] + }, + "version": 1 +} diff --git a/Hous-iOS/Hous-iOS/Global/Extension/Asset.swift b/Hous-iOS/Hous-iOS/Global/Extension/Asset.swift new file mode 100644 index 0000000..bb97bd3 --- /dev/null +++ b/Hous-iOS/Hous-iOS/Global/Extension/Asset.swift @@ -0,0 +1,37 @@ +// +// Asset.swift +// Hous-iOS +// +// Created by 김지현 on 2022/07/07. +// + +import UIKit + +public struct R { + + public struct Color { } + public struct Image { } + +} + +extension R.Color { + static var color1: UIColor { + .dynamicColor(light: .primaryLight, dark: .white) + } +} + +extension R.Image { +// static var test = UIImage(named: "Image_name") + static var systemImage = UIImage(systemName:"flame") + +} + +extension UIColor { + static func dynamicColor(light: UIColor, dark: UIColor) -> UIColor { + guard #available(iOS 13.0, *) else { return light } + return UIColor { $0.userInterfaceStyle == .dark ? dark : light } + } + @nonobjc class var primaryLight: UIColor { + return UIColor(red: 111.0 / 255.0, green: 100.0 / 255.0, blue: 1.0, alpha: 1.0) + } +} diff --git a/Hous-iOS/Hous-iOS/Global/Extension/UIFont+Extension.swift b/Hous-iOS/Hous-iOS/Global/Extension/UIFont+Extension.swift new file mode 100644 index 0000000..fa80405 --- /dev/null +++ b/Hous-iOS/Hous-iOS/Global/Extension/UIFont+Extension.swift @@ -0,0 +1,24 @@ +// +// UIFont+Extension.swift +// Hous-iOS +// +// Created by 김지현 on 2022/07/07. +// + +import UIKit + +enum FontName: String { + case spoqaHanSansNeoBold = "SpoqaHanSansNeo-Bold" + case spoqaHanSansNeoMedium = "SpoqaHanSansNeo-Medium" + + case montserratSemiBold = "Montserrat-SemiBold" + case montserratBold = "Montserrat-Bold" + case montserratMedium = "Montserrat-Medium" + case montserratRegular = "Montserrat-Regular" +} + +extension UIFont { + static func font(_ style: FontName, ofSize size: CGFloat) -> UIFont { + return UIFont(name: style.rawValue, size: size)! + } +} diff --git a/Hous-iOS/Hous-iOS/Global/Resource/Assets.xcassets/AccentColor.colorset/Contents.json b/Hous-iOS/Hous-iOS/Global/Resource/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/Hous-iOS/Hous-iOS/Global/Resource/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Hous-iOS/Hous-iOS/Global/Resource/Assets.xcassets/AppIcon.appiconset/Contents.json b/Hous-iOS/Hous-iOS/Global/Resource/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..9221b9b --- /dev/null +++ b/Hous-iOS/Hous-iOS/Global/Resource/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/Hous-iOS/Hous-iOS/Global/Resource/Assets.xcassets/Contents.json b/Hous-iOS/Hous-iOS/Global/Resource/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Hous-iOS/Hous-iOS/Global/Resource/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Hous-iOS/Hous-iOS/Global/Resource/Base.lproj/LaunchScreen.storyboard b/Hous-iOS/Hous-iOS/Global/Resource/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 0000000..865e932 --- /dev/null +++ b/Hous-iOS/Hous-iOS/Global/Resource/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Hous-iOS/Hous-iOS/Global/Resource/Font/Montserrat-Bold.otf b/Hous-iOS/Hous-iOS/Global/Resource/Font/Montserrat-Bold.otf new file mode 100644 index 0000000..cdfb83d Binary files /dev/null and b/Hous-iOS/Hous-iOS/Global/Resource/Font/Montserrat-Bold.otf differ diff --git a/Hous-iOS/Hous-iOS/Global/Resource/Font/Montserrat-Medium.otf b/Hous-iOS/Hous-iOS/Global/Resource/Font/Montserrat-Medium.otf new file mode 100644 index 0000000..6c323c1 Binary files /dev/null and b/Hous-iOS/Hous-iOS/Global/Resource/Font/Montserrat-Medium.otf differ diff --git a/Hous-iOS/Hous-iOS/Global/Resource/Font/Montserrat-Regular.otf b/Hous-iOS/Hous-iOS/Global/Resource/Font/Montserrat-Regular.otf new file mode 100644 index 0000000..c1d1ee3 Binary files /dev/null and b/Hous-iOS/Hous-iOS/Global/Resource/Font/Montserrat-Regular.otf differ diff --git a/Hous-iOS/Hous-iOS/Global/Resource/Font/Montserrat-SemiBold.otf b/Hous-iOS/Hous-iOS/Global/Resource/Font/Montserrat-SemiBold.otf new file mode 100644 index 0000000..4fa8281 Binary files /dev/null and b/Hous-iOS/Hous-iOS/Global/Resource/Font/Montserrat-SemiBold.otf differ diff --git a/Hous-iOS/Hous-iOS/Global/Resource/Font/SpoqaHanSansNeo-Bold.otf b/Hous-iOS/Hous-iOS/Global/Resource/Font/SpoqaHanSansNeo-Bold.otf new file mode 100644 index 0000000..de9da4c Binary files /dev/null and b/Hous-iOS/Hous-iOS/Global/Resource/Font/SpoqaHanSansNeo-Bold.otf differ diff --git a/Hous-iOS/Hous-iOS/Global/Resource/Font/SpoqaHanSansNeo-Medium.otf b/Hous-iOS/Hous-iOS/Global/Resource/Font/SpoqaHanSansNeo-Medium.otf new file mode 100644 index 0000000..ba3da28 Binary files /dev/null and b/Hous-iOS/Hous-iOS/Global/Resource/Font/SpoqaHanSansNeo-Medium.otf differ diff --git a/Hous-iOS/Hous-iOS/Global/Supports/AppDelegate.swift b/Hous-iOS/Hous-iOS/Global/Supports/AppDelegate.swift new file mode 100644 index 0000000..3f6126f --- /dev/null +++ b/Hous-iOS/Hous-iOS/Global/Supports/AppDelegate.swift @@ -0,0 +1,36 @@ +// +// AppDelegate.swift +// Hous-iOS +// +// Created by 김지현 on 2022/07/07. +// + +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/Hous-iOS/Hous-iOS/Global/Supports/Info.plist b/Hous-iOS/Hous-iOS/Global/Supports/Info.plist new file mode 100644 index 0000000..dd3c9af --- /dev/null +++ b/Hous-iOS/Hous-iOS/Global/Supports/Info.plist @@ -0,0 +1,25 @@ + + + + + UIApplicationSceneManifest + + UIApplicationSupportsMultipleScenes + + UISceneConfigurations + + UIWindowSceneSessionRoleApplication + + + UISceneConfigurationName + Default Configuration + UISceneDelegateClassName + $(PRODUCT_MODULE_NAME).SceneDelegate + UISceneStoryboardFile + Main + + + + + + diff --git a/Hous-iOS/Hous-iOS/Global/Supports/SceneDelegate.swift b/Hous-iOS/Hous-iOS/Global/Supports/SceneDelegate.swift new file mode 100644 index 0000000..405daf7 --- /dev/null +++ b/Hous-iOS/Hous-iOS/Global/Supports/SceneDelegate.swift @@ -0,0 +1,58 @@ +// +// SceneDelegate.swift +// Hous-iOS +// +// Created by 김지현 on 2022/07/07. +// + +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 windowScene = (scene as? UIWindowScene) else { return } + let window = UIWindow(windowScene: windowScene) + window.backgroundColor = .white + // MARK: - ViewControllerHost에 Hot reload 하고 싶은 ViewController instance를 넣기 + //window.rootViewController = Inject.ViewControllerHost(RulesViewController()) + window.makeKeyAndVisible() + 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/Hous-iOS/Hous-iOS/Network/APIConstants.swift b/Hous-iOS/Hous-iOS/Network/APIConstants.swift new file mode 100644 index 0000000..5aa861b --- /dev/null +++ b/Hous-iOS/Hous-iOS/Network/APIConstants.swift @@ -0,0 +1,16 @@ +// +// APIConstants.swift +// Hous-iOS +// +// Created by 김지현 on 2022/07/07. +// + +import Foundation + +struct APIConstants { + // MARK: - Base URL + static let baseURL = "" + + // MARK: - Path + static let signupPath = "" +} diff --git a/Hous-iOS/Hous-iOS/Network/HTTP/HTTPHeaderField.swift b/Hous-iOS/Hous-iOS/Network/HTTP/HTTPHeaderField.swift new file mode 100644 index 0000000..5ddab28 --- /dev/null +++ b/Hous-iOS/Hous-iOS/Network/HTTP/HTTPHeaderField.swift @@ -0,0 +1,19 @@ +// +// HTTPHeaderField.swift +// Hous-iOS +// +// Created by 김지현 on 2022/07/07. +// + +import Foundation + +enum HTTPHeaderField: String { + case authentication = "Authorization" + case contentType = "Content-Type" + case acceptType = "Accept" +} + +enum ContentType: String { + case json = "application/json" + //case multipart = "multipart/form-data" +} diff --git a/Hous-iOS/Hous-iOS/Network/Model/NetworkResult.swift b/Hous-iOS/Hous-iOS/Network/Model/NetworkResult.swift new file mode 100644 index 0000000..b0dee48 --- /dev/null +++ b/Hous-iOS/Hous-iOS/Network/Model/NetworkResult.swift @@ -0,0 +1,16 @@ +// +// NetworkResult.swift +// Hous-iOS +// +// Created by 김지현 on 2022/07/07. +// + +import Foundation + +enum NetworkResult { + case success(T) + case requestErr(String) + case serverErr + case pathErr + case networkFail +} diff --git a/Hous-iOS/Hous-iOS/Screens/Home/HomeViewController.swift b/Hous-iOS/Hous-iOS/Screens/Home/HomeViewController.swift new file mode 100644 index 0000000..0b49031 --- /dev/null +++ b/Hous-iOS/Hous-iOS/Screens/Home/HomeViewController.swift @@ -0,0 +1,9 @@ +// +// HomeViewController.swift +// Hous-iOS +// +// Created by 김지현 on 2022/07/07. +// + +import Foundation +// 이 파일 삭제하고 자유롭게 폴더 이용하세요! diff --git a/Hous-iOS/Hous-iOS/Screens/Profile/ProfileViewController.swift b/Hous-iOS/Hous-iOS/Screens/Profile/ProfileViewController.swift new file mode 100644 index 0000000..e2cc864 --- /dev/null +++ b/Hous-iOS/Hous-iOS/Screens/Profile/ProfileViewController.swift @@ -0,0 +1,9 @@ +// +// ProfileViewController.swift +// Hous-iOS +// +// Created by 김지현 on 2022/07/07. +// + +import Foundation +// 이 파일 삭제하고 자유롭게 폴더 이용하세요! diff --git a/Hous-iOS/Hous-iOS/Screens/Rules/RulesViewController.swift b/Hous-iOS/Hous-iOS/Screens/Rules/RulesViewController.swift new file mode 100644 index 0000000..69869e4 --- /dev/null +++ b/Hous-iOS/Hous-iOS/Screens/Rules/RulesViewController.swift @@ -0,0 +1,9 @@ +// +// RulesViewController.swift +// Hous-iOS +// +// Created by 김지현 on 2022/07/07. +// + +import Foundation +// 이 파일 삭제하고 자유롭게 폴더 이용하세요!