diff --git a/.well-known/apple-app-site-association b/.well-known/apple-app-site-association deleted file mode 100644 index ac6780c..0000000 --- a/.well-known/apple-app-site-association +++ /dev/null @@ -1,11 +0,0 @@ -{ - "applinks": { - "apps": [], - "details": [ - { - "appID": "76AJ433CP5.com.kim.AsyncSwift", - "paths": [ "*" ] - } - ] - } -} \ No newline at end of file diff --git a/AsyncSwift.xcodeproj/project.pbxproj b/AsyncSwift.xcodeproj/project.pbxproj index 7272948..684d62e 100644 --- a/AsyncSwift.xcodeproj/project.pbxproj +++ b/AsyncSwift.xcodeproj/project.pbxproj @@ -402,7 +402,7 @@ CODE_SIGN_ENTITLEMENTS = AsyncSwift/AsyncSwift.entitlements; CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 1; + CURRENT_PROJECT_VERSION = 2; DEVELOPMENT_ASSET_PATHS = "\"AsyncSwift/Preview Content\""; DEVELOPMENT_TEAM = 76AJ433CP5; ENABLE_PREVIEWS = YES; @@ -421,7 +421,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.0; + MARKETING_VERSION = 1.0.2; PRODUCT_BUNDLE_IDENTIFIER = com.kim.AsyncSwift; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = AsyncSwiftProvisioningProfile; @@ -439,7 +439,7 @@ CODE_SIGN_ENTITLEMENTS = AsyncSwift/AsyncSwift.entitlements; CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 1; + CURRENT_PROJECT_VERSION = 2; DEVELOPMENT_ASSET_PATHS = "\"AsyncSwift/Preview Content\""; DEVELOPMENT_TEAM = 76AJ433CP5; ENABLE_PREVIEWS = YES; @@ -458,7 +458,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.0; + MARKETING_VERSION = 1.0.2; PRODUCT_BUNDLE_IDENTIFIER = com.kim.AsyncSwift; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = AsyncSwiftProvisioningProfile; diff --git a/AsyncSwift.xcodeproj/project.xcworkspace/xcuserdata/kiminsub.xcuserdatad/UserInterfaceState.xcuserstate b/AsyncSwift.xcodeproj/project.xcworkspace/xcuserdata/kiminsub.xcuserdatad/UserInterfaceState.xcuserstate index de6d7de..958c88e 100644 Binary files a/AsyncSwift.xcodeproj/project.xcworkspace/xcuserdata/kiminsub.xcuserdatad/UserInterfaceState.xcuserstate and b/AsyncSwift.xcodeproj/project.xcworkspace/xcuserdata/kiminsub.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/AsyncSwift/Observed/AppData.swift b/AsyncSwift/Observed/AppData.swift index ec52c39..bf1e865 100644 --- a/AsyncSwift/Observed/AppData.swift +++ b/AsyncSwift/Observed/AppData.swift @@ -13,19 +13,22 @@ final class AppData: ObservableObject { @Published var currentTab: Tab = .event private var currentStamp: Stamp? - lazy var isStampExist: Bool = { - KeyChain.shared.getItem(key: currentStamp?.title) != nil - }() + var isStampExist: Bool { + if currentStamp == nil { + fetchCurrentStamp() + } + + return KeyChain.shared.getItem(key: currentStamp?.title) != nil + } init(){ fetchCurrentStamp() } func checkLink(url: URL) -> Bool { - // URL Example = https://asyncswift.info?tab=stamp - // URL Example = https://asyncswift.info?tab=event + // URL Example = https://asyncswift.info?tab=Stamp + // URL Example = https://asyncswift.info?tab=Event guard URLComponents(url: url, resolvingAgainstBaseURL: true)?.host != nil else { return false } - print(url) var queries = [String: String]() for item in URLComponents(url: url, resolvingAgainstBaseURL: true)?.queryItems ?? [] { queries[item.name] = item.value @@ -36,7 +39,6 @@ final class AppData: ObservableObject { switch queries["tab"] { case Tab.stamp.rawValue: KeyChain.shared.addItem(key: currentStampName, pwd: "true") ? print("Adding Stamp History KeyChain is Success") : print("Adding Stamp History is Fail") - self.isStampExist = true currentTab = .stamp case Tab.event.rawValue: currentTab = .event diff --git a/CNAME b/CNAME deleted file mode 100644 index bb5d31e..0000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -asyncswift.info \ No newline at end of file