From 2f5483c7791e84852dab98671de847c988fe7c70 Mon Sep 17 00:00:00 2001 From: Dongkyu Kim Date: Sat, 22 Aug 2020 11:30:13 +0900 Subject: [PATCH 1/4] Fix typos on markup --- Sources/BetterSafariView/SafariView.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/BetterSafariView/SafariView.swift b/Sources/BetterSafariView/SafariView.swift index 18ac247..3c09726 100644 --- a/Sources/BetterSafariView/SafariView.swift +++ b/Sources/BetterSafariView/SafariView.swift @@ -64,7 +64,7 @@ public struct SafariView { /// After the view controller is presented, changes made are not reflected. /// /// - Parameters: - /// - color: The color to use as a bar accent color. If `nil`, the tint color continues to be inherited. + /// - color: The color to use as a bar accent color. If `nil`, the accent color continues to be inherited. /// @available(iOS 14.0, *) public func preferredBarAccentColor(_ color: Color?) -> Self { @@ -84,7 +84,7 @@ public struct SafariView { /// Use `preferredControlAccentColor(_:)` instead of using the view’s [accentColor(_:)](apple-reference-documentation://ls%2Fdocumentation%2Fswiftui%2Fview%2Faccentcolor(_%3A)) method. /// /// - Parameters: - /// - color: The color to use as a control accent tint color. If `nil`, the tint color continues to be inherited. + /// - color: The color to use as a control accent color. If `nil`, the accent color continues to be inherited. /// @available(iOS 14.0, *) public func preferredControlAccentColor(_ color: Color?) -> Self { From c7075ae5286cc7b6cd11093096060dc0ffba0fe3 Mon Sep 17 00:00:00 2001 From: Dongkyu Kim Date: Sat, 22 Aug 2020 11:34:39 +0900 Subject: [PATCH 2/4] Update version number of demo project --- Demo/BetterSafariViewDemo.xcodeproj/project.pbxproj | 4 ++++ Demo/BetterSafariViewDemo/Info.plist | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Demo/BetterSafariViewDemo.xcodeproj/project.pbxproj b/Demo/BetterSafariViewDemo.xcodeproj/project.pbxproj index 3a5b132..3023c04 100644 --- a/Demo/BetterSafariViewDemo.xcodeproj/project.pbxproj +++ b/Demo/BetterSafariViewDemo.xcodeproj/project.pbxproj @@ -349,6 +349,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 2; DEVELOPMENT_ASSET_PATHS = "\"BetterSafariViewDemo/Preview Content\""; DEVELOPMENT_TEAM = ""; ENABLE_PREVIEWS = YES; @@ -358,6 +359,7 @@ "$(inherited)", "@executable_path/Frameworks", ); + MARKETING_VERSION = 2.0; PRODUCT_BUNDLE_IDENTIFIER = com.stleam.BetterSafariViewDemo; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; @@ -371,6 +373,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 2; DEVELOPMENT_ASSET_PATHS = "\"BetterSafariViewDemo/Preview Content\""; DEVELOPMENT_TEAM = ""; ENABLE_PREVIEWS = YES; @@ -380,6 +383,7 @@ "$(inherited)", "@executable_path/Frameworks", ); + MARKETING_VERSION = 2.0; PRODUCT_BUNDLE_IDENTIFIER = com.stleam.BetterSafariViewDemo; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; diff --git a/Demo/BetterSafariViewDemo/Info.plist b/Demo/BetterSafariViewDemo/Info.plist index 4372595..a2c2ff4 100644 --- a/Demo/BetterSafariViewDemo/Info.plist +++ b/Demo/BetterSafariViewDemo/Info.plist @@ -17,9 +17,9 @@ CFBundlePackageType $(PRODUCT_BUNDLE_PACKAGE_TYPE) CFBundleShortVersionString - 1.0 + $(MARKETING_VERSION) CFBundleVersion - 1 + $(CURRENT_PROJECT_VERSION) LSRequiresIPhoneOS UIApplicationSceneManifest From 7054b4d5a385e570815f32d5bbfb189eed3fc54a Mon Sep 17 00:00:00 2001 From: Dongkyu Kim Date: Sat, 22 Aug 2020 11:41:43 +0900 Subject: [PATCH 3/4] Update CHANGELOG --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e717c0e..22fbb36 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [v2.0.1](https://github.com/stleamist/BetterSafariView/releases/tag/v2.0.1) (2020-08-22) +### Fixed +- Fixed typos on markup + ## [v2.0.0](https://github.com/stleamist/BetterSafariView/releases/tag/v2.0.0) (2020-08-16) ### Added - You can now authenticate a user through a web authentication session by using `WebAuthenticationSession`. From a79440f27f75386a1224b5d20a8f870f1f0f6063 Mon Sep 17 00:00:00 2001 From: Dongkyu Kim Date: Sat, 22 Aug 2020 11:54:10 +0900 Subject: [PATCH 4/4] Update README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a57960a..7a3aba1 100644 --- a/README.md +++ b/README.md @@ -147,7 +147,7 @@ struct ContentView: View { Add the following line to the `dependencies` in your [`Package.swift`](https://developer.apple.com/documentation/swift_packages/package) file: ```swift -.package(url: "https://github.com/stleamist/BetterSafariView.git", .upToNextMajor(from: "2.0.0")) +.package(url: "https://github.com/stleamist/BetterSafariView.git", .upToNextMajor(from: "2.0.1")) ``` Next, add `BetterSafariView` as a dependency for your targets: @@ -166,7 +166,7 @@ import PackageDescription let package = Package( name: "MyPackage", dependencies: [ - .package(url: "https://github.com/stleamist/BetterSafariView.git", .upToNextMajor(from: "2.0.0")) + .package(url: "https://github.com/stleamist/BetterSafariView.git", .upToNextMajor(from: "2.0.1")) ], targets: [ .target(name: "MyTarget", dependencies: ["BetterSafariView"])