diff --git a/.gitignore b/.gitignore index fb111fa..518543a 100644 --- a/.gitignore +++ b/.gitignore @@ -133,3 +133,6 @@ iOSInjectionProject/ # End of https://www.toptal.com/developers/gitignore/api/macos,swift,xcode + +# 또는 모든 xcconfig 파일 +*.xcconfig diff --git a/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment.xcodeproj/project.pbxproj b/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment.xcodeproj/project.pbxproj new file mode 100644 index 0000000..87d7298 --- /dev/null +++ b/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment.xcodeproj/project.pbxproj @@ -0,0 +1,397 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 77; + objects = { + +/* Begin PBXBuildFile section */ + F72C211C2EF180D5005B12B1 /* SnapKit in Frameworks */ = {isa = PBXBuildFile; productRef = F72C211B2EF180D5005B12B1 /* SnapKit */; }; + F72C211F2EF180DB005B12B1 /* Then in Frameworks */ = {isa = PBXBuildFile; productRef = F72C211E2EF180DB005B12B1 /* Then */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + F72C21002EF17BDA005B12B1 /* HongJunBeom_Combine_Assignment.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = HongJunBeom_Combine_Assignment.app; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFileSystemSynchronizedBuildFileExceptionSet section */ + F72C21122EF17BDB005B12B1 /* Exceptions for "HongJunBeom_Combine_Assignment" folder in "HongJunBeom_Combine_Assignment" target */ = { + isa = PBXFileSystemSynchronizedBuildFileExceptionSet; + membershipExceptions = ( + Info.plist, + ); + target = F72C20FF2EF17BDA005B12B1 /* HongJunBeom_Combine_Assignment */; + }; +/* End PBXFileSystemSynchronizedBuildFileExceptionSet section */ + +/* Begin PBXFileSystemSynchronizedRootGroup section */ + F72C21022EF17BDA005B12B1 /* HongJunBeom_Combine_Assignment */ = { + isa = PBXFileSystemSynchronizedRootGroup; + exceptions = ( + F72C21122EF17BDB005B12B1 /* Exceptions for "HongJunBeom_Combine_Assignment" folder in "HongJunBeom_Combine_Assignment" target */, + ); + path = HongJunBeom_Combine_Assignment; + sourceTree = ""; + }; +/* End PBXFileSystemSynchronizedRootGroup section */ + +/* Begin PBXFrameworksBuildPhase section */ + F72C20FD2EF17BDA005B12B1 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + F72C211C2EF180D5005B12B1 /* SnapKit in Frameworks */, + F72C211F2EF180DB005B12B1 /* Then in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + F72C20F72EF17BDA005B12B1 = { + isa = PBXGroup; + children = ( + F72C21022EF17BDA005B12B1 /* HongJunBeom_Combine_Assignment */, + F72C21012EF17BDA005B12B1 /* Products */, + ); + sourceTree = ""; + }; + F72C21012EF17BDA005B12B1 /* Products */ = { + isa = PBXGroup; + children = ( + F72C21002EF17BDA005B12B1 /* HongJunBeom_Combine_Assignment.app */, + ); + name = Products; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + F72C20FF2EF17BDA005B12B1 /* HongJunBeom_Combine_Assignment */ = { + isa = PBXNativeTarget; + buildConfigurationList = F72C21132EF17BDB005B12B1 /* Build configuration list for PBXNativeTarget "HongJunBeom_Combine_Assignment" */; + buildPhases = ( + F72C20FC2EF17BDA005B12B1 /* Sources */, + F72C20FD2EF17BDA005B12B1 /* Frameworks */, + F72C20FE2EF17BDA005B12B1 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + fileSystemSynchronizedGroups = ( + F72C21022EF17BDA005B12B1 /* HongJunBeom_Combine_Assignment */, + ); + name = HongJunBeom_Combine_Assignment; + packageProductDependencies = ( + F72C211B2EF180D5005B12B1 /* SnapKit */, + F72C211E2EF180DB005B12B1 /* Then */, + ); + productName = HongJunBeom_Combine_Assignment; + productReference = F72C21002EF17BDA005B12B1 /* HongJunBeom_Combine_Assignment.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + F72C20F82EF17BDA005B12B1 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 2600; + LastUpgradeCheck = 2600; + TargetAttributes = { + F72C20FF2EF17BDA005B12B1 = { + CreatedOnToolsVersion = 26.0.1; + }; + }; + }; + buildConfigurationList = F72C20FB2EF17BDA005B12B1 /* Build configuration list for PBXProject "HongJunBeom_Combine_Assignment" */; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = F72C20F72EF17BDA005B12B1; + minimizedProjectReferenceProxies = 1; + packageReferences = ( + F72C211A2EF180D5005B12B1 /* XCRemoteSwiftPackageReference "SnapKit" */, + F72C211D2EF180DB005B12B1 /* XCRemoteSwiftPackageReference "Then" */, + ); + preferredProjectObjectVersion = 77; + productRefGroup = F72C21012EF17BDA005B12B1 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + F72C20FF2EF17BDA005B12B1 /* HongJunBeom_Combine_Assignment */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + F72C20FE2EF17BDA005B12B1 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + F72C20FC2EF17BDA005B12B1 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + F72C21142EF17BDB005B12B1 /* 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 = DPYL43TPTX; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = HongJunBeom_Combine_Assignment/Info.plist; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen; + 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 = "kukah.HongJunBeom-Combine-Assignment"; + PRODUCT_NAME = "$(TARGET_NAME)"; + STRING_CATALOG_GENERATE_SYMBOLS = YES; + SWIFT_APPROACHABLE_CONCURRENCY = YES; + SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + F72C21152EF17BDB005B12B1 /* 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 = DPYL43TPTX; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = HongJunBeom_Combine_Assignment/Info.plist; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen; + 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 = "kukah.HongJunBeom-Combine-Assignment"; + PRODUCT_NAME = "$(TARGET_NAME)"; + STRING_CATALOG_GENERATE_SYMBOLS = YES; + SWIFT_APPROACHABLE_CONCURRENCY = YES; + SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + F72C21162EF17BDB005B12B1 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReferenceAnchor = F72C21022EF17BDA005B12B1 /* HongJunBeom_Combine_Assignment */; + baseConfigurationReferenceRelativePath = Network/Config.xcconfig; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + 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; + DEVELOPMENT_TEAM = DPYL43TPTX; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + 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 = 26.0; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + F72C21172EF17BDB005B12B1 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReferenceAnchor = F72C21022EF17BDA005B12B1 /* HongJunBeom_Combine_Assignment */; + baseConfigurationReferenceRelativePath = Network/Config.xcconfig; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + 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"; + DEVELOPMENT_TEAM = DPYL43TPTX; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + 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 = 26.0; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + F72C20FB2EF17BDA005B12B1 /* Build configuration list for PBXProject "HongJunBeom_Combine_Assignment" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + F72C21162EF17BDB005B12B1 /* Debug */, + F72C21172EF17BDB005B12B1 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + F72C21132EF17BDB005B12B1 /* Build configuration list for PBXNativeTarget "HongJunBeom_Combine_Assignment" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + F72C21142EF17BDB005B12B1 /* Debug */, + F72C21152EF17BDB005B12B1 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + +/* Begin XCRemoteSwiftPackageReference section */ + F72C211A2EF180D5005B12B1 /* XCRemoteSwiftPackageReference "SnapKit" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/SnapKit/SnapKit"; + requirement = { + kind = upToNextMajorVersion; + minimumVersion = 5.7.1; + }; + }; + F72C211D2EF180DB005B12B1 /* XCRemoteSwiftPackageReference "Then" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/devxoul/Then"; + requirement = { + kind = upToNextMajorVersion; + minimumVersion = 3.0.0; + }; + }; +/* End XCRemoteSwiftPackageReference section */ + +/* Begin XCSwiftPackageProductDependency section */ + F72C211B2EF180D5005B12B1 /* SnapKit */ = { + isa = XCSwiftPackageProductDependency; + package = F72C211A2EF180D5005B12B1 /* XCRemoteSwiftPackageReference "SnapKit" */; + productName = SnapKit; + }; + F72C211E2EF180DB005B12B1 /* Then */ = { + isa = XCSwiftPackageProductDependency; + package = F72C211D2EF180DB005B12B1 /* XCRemoteSwiftPackageReference "Then" */; + productName = Then; + }; +/* End XCSwiftPackageProductDependency section */ + }; + rootObject = F72C20F82EF17BDA005B12B1 /* Project object */; +} diff --git a/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved new file mode 100644 index 0000000..8063172 --- /dev/null +++ b/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -0,0 +1,24 @@ +{ + "originHash" : "2ad69c0deaec8838f2417eb6e8d288b30a36442bc22243bc0f5ee813f88e20a7", + "pins" : [ + { + "identity" : "snapkit", + "kind" : "remoteSourceControl", + "location" : "https://github.com/SnapKit/SnapKit", + "state" : { + "revision" : "2842e6e84e82eb9a8dac0100ca90d9444b0307f4", + "version" : "5.7.1" + } + }, + { + "identity" : "then", + "kind" : "remoteSourceControl", + "location" : "https://github.com/devxoul/Then", + "state" : { + "revision" : "d41ef523faef0f911369f79c0b96815d9dbb6d7a", + "version" : "3.0.0" + } + } + ], + "version" : 3 +} diff --git a/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/AppDelegate.swift b/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/AppDelegate.swift new file mode 100644 index 0000000..18972c9 --- /dev/null +++ b/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/AppDelegate.swift @@ -0,0 +1,36 @@ +// +// AppDelegate.swift +// HongJunBeom_Combine_Assignment +// +// Created by 홍준범 on 12/16/25. +// + +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/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/Assets.xcassets/AccentColor.colorset/Contents.json b/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/Assets.xcassets/AppIcon.appiconset/Contents.json b/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..2305880 --- /dev/null +++ b/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,35 @@ +{ + "images" : [ + { + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "tinted" + } + ], + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/Assets.xcassets/Contents.json b/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/Base.lproj/LaunchScreen.storyboard b/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 0000000..865e932 --- /dev/null +++ b/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/Info.plist b/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/Info.plist new file mode 100644 index 0000000..3b7cf2d --- /dev/null +++ b/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/Info.plist @@ -0,0 +1,25 @@ + + + + + KOBIS_API_KEY + $(KOBIS_API_KEY) + UIApplicationSceneManifest + + UIApplicationSupportsMultipleScenes + + UISceneConfigurations + + UIWindowSceneSessionRoleApplication + + + UISceneConfigurationName + Default Configuration + UISceneDelegateClassName + $(PRODUCT_MODULE_NAME).SceneDelegate + + + + + + diff --git a/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/Network/BoxOfficeDTO.swift b/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/Network/BoxOfficeDTO.swift new file mode 100644 index 0000000..f892577 --- /dev/null +++ b/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/Network/BoxOfficeDTO.swift @@ -0,0 +1,39 @@ +// +// BoxOfficeDTO.swift +// HongJunBeom_Combine_Assignment +// +// Created by 홍준범 on 12/17/25. +// + +import Foundation + +struct BoxOfficeResponse: Decodable { + let boxOfficeResult: BoxOfficeResult +} + +struct BoxOfficeResult: Decodable { + let boxofficeType: String + let showRange: String + let dailyBoxOfficeList: [DailyBoxOffice] +} + +struct DailyBoxOffice: Decodable { + let rnum: String // 순번 + let rank: String // 순위 + let rankInten: String // 순위 증감 + let rankOldAndNew: String // 신규진입 여부 + let movieCd: String // 영화 코드 + let movieNm: String // 영화명 + let openDt: String // 개봉일 + let salesAmt: String // 매출액 + let salesShare: String // 매출 점유율 + let salesInten: String // 매출 증감 + let salesChange: String // 매출 변화율 + let salesAcc: String // 누적 매출액 + let audiCnt: String // 당일 관객수 + let audiInten: String // 관객수 증감 + let audiChange: String // 관객수 변화율 + let audiAcc: String // 누적 관객수 + let scrnCnt: String // 상영 스크린 수 + let showCnt: String // 상영 횟수 +} diff --git a/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/Network/BoxOfficeService.swift b/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/Network/BoxOfficeService.swift new file mode 100644 index 0000000..e49efa8 --- /dev/null +++ b/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/Network/BoxOfficeService.swift @@ -0,0 +1,66 @@ +// +// BoxOfficeService.swift +// HongJunBeom_Combine_Assignment +// +// Created by 홍준범 on 12/17/25. +// + +import Foundation +import Combine + +final class BoxOfficeService { + static let shared = BoxOfficeService() + private init() {} + + private let baseURL = "https://kobis.or.kr/kobisopenapi/webservice/rest/boxoffice/searchDailyBoxOfficeList.json" + + private let apiKey: String = { + guard let key = Bundle.main.object( + forInfoDictionaryKey: "KOBIS_API_KEY" + ) as? String else { + fatalError("❌ KOBIS_API_KEY not found") + } + return key + }() + + func fetchDailyBoxOffice(date: String) -> AnyPublisher<[DailyBoxOffice], NetworkError> { + guard var components = URLComponents(string: baseURL) else { + return Fail(error: .invalidURL).eraseToAnyPublisher() + } + + components.queryItems = [ + URLQueryItem(name: "key", value: apiKey), + URLQueryItem(name: "targetDt", value: date) + ] + + guard let url = components.url else { + return Fail(error: .invalidURL).eraseToAnyPublisher() + } + + return URLSession.shared.dataTaskPublisher(for: url) + .tryMap { output -> Data in + guard let response = output.response as? HTTPURLResponse else { + throw NetworkError.unknownError + } + + switch response.statusCode { + case 200...299: + return output.data + case 500...599: + throw NetworkError.internalServerError + default: + throw NetworkError.clientError(statusCode: response.statusCode) + } + } + .decode(type: BoxOfficeResponse.self, decoder: JSONDecoder()) + .map { $0.boxOfficeResult.dailyBoxOfficeList } + .mapError { error -> NetworkError in + if let networkError = error as? NetworkError { return networkError } + if error is DecodingError { return .responseDecodingError } + if (error as? URLError) != nil { return .unknownError } + return .unknownError + } + .receive(on: DispatchQueue.main) + .eraseToAnyPublisher() + } +} diff --git a/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/Network/DailyBoxOfficeViewModel.swift b/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/Network/DailyBoxOfficeViewModel.swift new file mode 100644 index 0000000..74bbbf8 --- /dev/null +++ b/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/Network/DailyBoxOfficeViewModel.swift @@ -0,0 +1,54 @@ +// +// DailyBoxOfficeViewModel.swift +// HongJunBeom_Combine_Assignment +// +// Created by 홍준범 on 12/17/25. +// + +import Foundation +import Combine + +final class DailyBoxOfficeViewModel { + struct Input { + let inquiryButtonTapped: AnyPublisher + } + + struct Output { + let boxOfficeList: AnyPublisher<[DailyBoxOffice], Never> + let isLoading: AnyPublisher + } + + private let boxOfficeService: BoxOfficeService + private var cancellables = Set() + + init(boxOfficeService: BoxOfficeService = .shared) { + self.boxOfficeService = boxOfficeService + } + + func transform(input: Input) -> Output { + let isLoadingSubject = CurrentValueSubject(false) + let boxOfficeListSubject = CurrentValueSubject<[DailyBoxOffice], Never>([]) + + input.inquiryButtonTapped + .map { date -> String in + let formatter = DateFormatter() + formatter.dateFormat = "yyyyMMdd" + formatter.locale = Locale(identifier: "ko_KR") + return formatter.string(from: date) + } + .handleEvents(receiveOutput: { _ in + isLoadingSubject.send(true) + }) + .flatMap { [boxOfficeService] dateString in + boxOfficeService.fetchDailyBoxOffice(date: dateString) + .catch { _ in Just([])} + } + .sink { movies in + isLoadingSubject.send(false) + boxOfficeListSubject.send(movies) + } + .store(in: &cancellables) + + return Output(boxOfficeList: boxOfficeListSubject.eraseToAnyPublisher(), isLoading: isLoadingSubject.eraseToAnyPublisher()) + } +} diff --git a/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/Network/NetworkError.swift b/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/Network/NetworkError.swift new file mode 100644 index 0000000..e73a0df --- /dev/null +++ b/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/Network/NetworkError.swift @@ -0,0 +1,34 @@ +// +// NetworkError.swift +// HongJunBeom_Combine_Assignment +// +// Created by 홍준범 on 12/17/25. +// + +import Foundation + +enum NetworkError: Error { + case invalidURL + case responseDecodingError + case noData + case unknownError + case internalServerError + case clientError(statusCode: Int) + + var errorDescription: String { + switch self { + case .invalidURL: + return "잘못된 URL" + case .responseDecodingError: + return "디코딩 에러" + case .noData: + return "데이터 없음" + case .unknownError: + return "알 수 없는 에러" + case .internalServerError: + return "서버 에러" + case .clientError(let code): + return "클라이언트 요청 에러 (Code: \(code))" + } + } +} diff --git a/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/Presentation/DailyBoxOfficeTableViewCell.swift b/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/Presentation/DailyBoxOfficeTableViewCell.swift new file mode 100644 index 0000000..b649694 --- /dev/null +++ b/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/Presentation/DailyBoxOfficeTableViewCell.swift @@ -0,0 +1,113 @@ +// +// DailyBoxOfficeTableViewCell.swift +// HongJunBeom_Combine_Assignment +// +// Created by 홍준범 on 12/17/25. +// + +import UIKit + +import SnapKit +import Then + +class DailyBoxOfficeTableViewCell: UITableViewCell { + + static let identifier: String = "DailyBoxOfficeTableViewCell" + + private let rankLabel = UILabel().then { + $0.font = .systemFont(ofSize: 14, weight: .bold) + $0.textAlignment = .center + $0.textColor = .black + } + + private let movieTitleLabel = UILabel().then { + $0.font = .systemFont(ofSize: 14, weight: .regular) + $0.textColor = .black + } + + private let audienceLabel = UILabel().then { + $0.font = .systemFont(ofSize: 14, weight: .regular) + $0.textColor = .black + } + + private let openDateLabel = UILabel().then { + $0.font = .systemFont(ofSize: 14, weight: .regular) + $0.textColor = .black + } + + private let separatorView = UIView().then { + $0.backgroundColor = .systemGray5 + } + + override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) { + super.init(style: style, reuseIdentifier: reuseIdentifier) + setUI() + setLayout() + } + + required init?(coder: NSCoder) { + fatalError("init(coder:) has not been implemented") + } + + private func setUI() { + contentView.addSubview(rankLabel) + contentView.addSubview(movieTitleLabel) + contentView.addSubview(audienceLabel) + contentView.addSubview(openDateLabel) + contentView.addSubview(separatorView) + } + + private func setLayout() { + rankLabel.snp.makeConstraints { + $0.leading.equalToSuperview().offset(16) + $0.centerY.equalToSuperview() + $0.width.equalTo(40) + } + + movieTitleLabel.snp.makeConstraints { + $0.leading.equalTo(rankLabel.snp.trailing).offset(16) + $0.top.equalToSuperview().offset(12) + $0.trailing.equalToSuperview().inset(16) + } + + audienceLabel.snp.makeConstraints { + $0.leading.equalTo(movieTitleLabel) + $0.top.equalTo(movieTitleLabel.snp.bottom).offset(4) + } + + openDateLabel.snp.makeConstraints { + $0.leading.equalTo(audienceLabel.snp.trailing).offset(12) + $0.centerY.equalTo(audienceLabel) + $0.bottom.equalToSuperview().inset(12) + } + + separatorView.snp.makeConstraints { + $0.leading.trailing.bottom.equalToSuperview() + $0.height.equalTo(1) + } + } + + func configure(with movie: DailyBoxOffice) { + rankLabel.text = movie.rank + movieTitleLabel.text = movie.movieNm + + let audienceCount = Int(movie.audiAcc) ?? 0 + let formatter = NumberFormatter() + formatter.numberStyle = .decimal + audienceLabel.text = "관객 \(formatter.string(from: NSNumber(value: audienceCount)) ?? "0")명" + + openDateLabel.text = "개봉일: \(movie.openDt)" + + // 순위에 따른 색상 변경 + switch movie.rank { + case "1": + rankLabel.textColor = .systemRed + case "2": + rankLabel.textColor = .systemOrange + case "3": + rankLabel.textColor = .systemYellow + default: + rankLabel.textColor = .systemGray + } + } +} diff --git a/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/Presentation/DailyBoxOfficeView.swift b/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/Presentation/DailyBoxOfficeView.swift new file mode 100644 index 0000000..6b7f139 --- /dev/null +++ b/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/Presentation/DailyBoxOfficeView.swift @@ -0,0 +1,129 @@ +// +// DailyBoxOfficeView.swift +// HongJunBeom_Combine_Assignment +// +// Created by 홍준범 on 12/17/25. +// + +import UIKit + +import Then +import SnapKit + +class DailyBoxOfficeView: UIView { + var onTapInquiry: ((Date) -> Void)? + + private let loadingIndicator = UIActivityIndicatorView(style: .large) + + private let dateLabel = UILabel().then { + $0.font = .systemFont(ofSize: 20, weight: .bold) + $0.textAlignment = .center + $0.text = "날짜를 선택하세요" + } + + private let datePicker = UIDatePicker().then { + $0.datePickerMode = .date + $0.date = Date() + $0.preferredDatePickerStyle = .wheels + $0.locale = Locale(identifier: "ko_KR") + } + + private let inquiryButton = UIButton().then { + $0.setTitle("조회", for: .normal) + $0.titleLabel?.font = .systemFont(ofSize: 16, weight: .bold) + $0.setTitleColor(.white, for: .normal) + $0.backgroundColor = .systemBlue + } + + var movieTableView = UITableView().then { + $0.separatorStyle = .none + $0.backgroundColor = .systemBackground + } + + override init(frame: CGRect) { + super.init(frame: frame) + + setStyle() + setUI() + setLayout() + setAction() + } + + required init?(coder: NSCoder) { + fatalError("init(coder:) has not been implemented") + } + + private func setStyle() { + self.backgroundColor = .white + loadingIndicator.hidesWhenStopped = true + } + + private func setUI() { + self.addSubview(dateLabel) + self.addSubview(datePicker) + self.addSubview(inquiryButton) + self.addSubview(movieTableView) + + movieTableView.addSubview(loadingIndicator) + } + + private func setLayout() { + dateLabel.snp.makeConstraints { + $0.top.equalTo(safeAreaLayoutGuide).offset(30) + $0.leading.trailing.equalToSuperview().inset(30) + } + + datePicker.snp.makeConstraints { + $0.top.equalTo(dateLabel.snp.bottom).offset(12) + $0.leading.trailing.equalToSuperview().inset(30) + } + + inquiryButton.snp.makeConstraints { + $0.top.equalTo(datePicker.snp.bottom).offset(18) + $0.leading.trailing.equalToSuperview().inset(40) + } + + movieTableView.snp.makeConstraints { + $0.top.equalTo(inquiryButton.snp.bottom).offset(20) + $0.leading.trailing.bottom.equalToSuperview() + } + + loadingIndicator.snp.makeConstraints { + $0.center.equalTo(movieTableView) + } + } + + private func setAction() { + datePicker.addTarget(self, action: #selector(datePickerValueChanged), for: .valueChanged) + inquiryButton.addTarget(self, action: #selector(didTapInquiryButton), for: .touchUpInside) + } + + @objc private func datePickerValueChanged() { + updateDateLabel() + } + + @objc private func didTapInquiryButton() { + onTapInquiry?(datePicker.date) + } + + private func updateDateLabel() { + let formatter = DateFormatter() + formatter.dateFormat = "yyyy년 MM월 dd일" + formatter.locale = Locale(identifier: "ko_KR") + dateLabel.text = formatter.string(from: datePicker.date) + } + + func setLoading(_ isLoading: Bool) { + if isLoading { + loadingIndicator.startAnimating() + inquiryButton.isEnabled = false + inquiryButton.alpha = 0.6 + } else { + loadingIndicator.stopAnimating() + inquiryButton.isEnabled = true + inquiryButton.alpha = 1.0 + } + } +} + + diff --git a/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/Presentation/DailyBoxOfficeViewController.swift b/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/Presentation/DailyBoxOfficeViewController.swift new file mode 100644 index 0000000..3ceae54 --- /dev/null +++ b/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/Presentation/DailyBoxOfficeViewController.swift @@ -0,0 +1,82 @@ +// +// DailyBoxOfficeViewController.swift +// HongJunBeom_Combine_Assignment +// +// Created by 홍준범 on 12/16/25. +// + +import UIKit +import Combine + +import Then +import SnapKit + +class DailyBoxOfficeViewController: UIViewController { + + private let contentView = DailyBoxOfficeView() + private let viewModel = DailyBoxOfficeViewModel() + + private var boxOfficeList: [DailyBoxOffice] = [] + private var cancellables = Set() + + private let inquiryButtonTappedSubject = PassthroughSubject() + + override func loadView() { + self.view = contentView + } + + override func viewDidLoad() { + super.viewDidLoad() + title = "일별 박스오피스" + + register() + setDelegate() + bind() + } + + private func bind() { + let input = DailyBoxOfficeViewModel.Input( inquiryButtonTapped: inquiryButtonTappedSubject.eraseToAnyPublisher()) + + let output = viewModel.transform(input: input) + + output.boxOfficeList + .sink { [weak self] list in + self?.boxOfficeList = list + self?.contentView.movieTableView.reloadData() + } + .store(in: &cancellables) + + output.isLoading + .sink { [weak self] isLoading in + self?.contentView.setLoading(isLoading) + } + .store(in: &cancellables) + + contentView.onTapInquiry = { [weak self] date in + self?.inquiryButtonTappedSubject.send(date) + } + } + + private func register() { + contentView.movieTableView.register(DailyBoxOfficeTableViewCell.self, forCellReuseIdentifier: DailyBoxOfficeTableViewCell.identifier) + } + + private func setDelegate() { + contentView.movieTableView.dataSource = self + } +} + +extension DailyBoxOfficeViewController: UITableViewDataSource { + func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { + return boxOfficeList.count + } + + func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { + guard let cell = tableView.dequeueReusableCell(withIdentifier: DailyBoxOfficeTableViewCell.identifier, for: indexPath) as? DailyBoxOfficeTableViewCell else { + return UITableViewCell() + } + + cell.configure(with: boxOfficeList[indexPath.row]) + return cell + } +} diff --git a/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/SceneDelegate.swift b/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/SceneDelegate.swift new file mode 100644 index 0000000..c6e4af5 --- /dev/null +++ b/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/SceneDelegate.swift @@ -0,0 +1,61 @@ +// +// SceneDelegate.swift +// HongJunBeom_Combine_Assignment +// +// Created by 홍준범 on 12/16/25. +// + +import UIKit + +class SceneDelegate: UIResponder, UIWindowSceneDelegate { + + var window: UIWindow? + + + func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) { + + // 1. + guard let windowScene = (scene as? UIWindowScene) else { return } + // 2. + let window = UIWindow(windowScene: windowScene) + // 3. + let vc = UINavigationController(rootViewController: DailyBoxOfficeViewController()) + // 4. + window.rootViewController = vc + // 5. + self.window = window + // 6. + window.makeKeyAndVisible() + } + + 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/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/ViewController.swift b/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/ViewController.swift new file mode 100644 index 0000000..af35330 --- /dev/null +++ b/HongJunBeom_Combine_Assignment/HongJunBeom_Combine_Assignment/ViewController.swift @@ -0,0 +1,19 @@ +// +// ViewController.swift +// HongJunBeom_Combine_Assignment +// +// Created by 홍준범 on 12/16/25. +// + +import UIKit + +class ViewController: UIViewController { + + override func viewDidLoad() { + super.viewDidLoad() + // Do any additional setup after loading the view. + } + + +} +