Skip to content

Commit

Permalink
Merge pull request #43 from Async-Swift/release-v1.0.2
Browse files Browse the repository at this point in the history
Release v1.0.2
  • Loading branch information
insub4067 authored Sep 21, 2022
2 parents efa4cf1 + 5d55329 commit 4bd06dc
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 23 deletions.
11 changes: 0 additions & 11 deletions .well-known/apple-app-site-association

This file was deleted.

8 changes: 4 additions & 4 deletions AsyncSwift.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand Down
Binary file not shown.
16 changes: 9 additions & 7 deletions AsyncSwift/Observed/AppData.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
1 change: 0 additions & 1 deletion CNAME

This file was deleted.

0 comments on commit 4bd06dc

Please sign in to comment.