File tree Expand file tree Collapse file tree 5 files changed +14
-6
lines changed
BetterSafariViewDemo.xcodeproj Expand file tree Collapse file tree 5 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## [ v2.0.1] ( https://github.com/stleamist/BetterSafariView/releases/tag/v2.0.1 ) (2020-08-22)
4+ ### Fixed
5+ - Fixed typos on markup
6+
37## [ v2.0.0] ( https://github.com/stleamist/BetterSafariView/releases/tag/v2.0.0 ) (2020-08-16)
48### Added
59- You can now authenticate a user through a web authentication session by using ` WebAuthenticationSession ` .
Original file line number Diff line number Diff line change 349349 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
350350 ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
351351 CODE_SIGN_STYLE = Automatic;
352+ CURRENT_PROJECT_VERSION = 2;
352353 DEVELOPMENT_ASSET_PATHS = "\"BetterSafariViewDemo/Preview Content\"";
353354 DEVELOPMENT_TEAM = "";
354355 ENABLE_PREVIEWS = YES;
358359 "$(inherited)",
359360 "@executable_path/Frameworks",
360361 );
362+ MARKETING_VERSION = 2.0;
361363 PRODUCT_BUNDLE_IDENTIFIER = com.stleam.BetterSafariViewDemo;
362364 PRODUCT_NAME = "$(TARGET_NAME)";
363365 SWIFT_VERSION = 5.0;
371373 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
372374 ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
373375 CODE_SIGN_STYLE = Automatic;
376+ CURRENT_PROJECT_VERSION = 2;
374377 DEVELOPMENT_ASSET_PATHS = "\"BetterSafariViewDemo/Preview Content\"";
375378 DEVELOPMENT_TEAM = "";
376379 ENABLE_PREVIEWS = YES;
380383 "$(inherited)",
381384 "@executable_path/Frameworks",
382385 );
386+ MARKETING_VERSION = 2.0;
383387 PRODUCT_BUNDLE_IDENTIFIER = com.stleam.BetterSafariViewDemo;
384388 PRODUCT_NAME = "$(TARGET_NAME)";
385389 SWIFT_VERSION = 5.0;
Original file line number Diff line number Diff line change 1717 <key >CFBundlePackageType </key >
1818 <string >$(PRODUCT_BUNDLE_PACKAGE_TYPE) </string >
1919 <key >CFBundleShortVersionString </key >
20- <string >1.0 </string >
20+ <string >$(MARKETING_VERSION) </string >
2121 <key >CFBundleVersion </key >
22- <string >1 </string >
22+ <string >$(CURRENT_PROJECT_VERSION) </string >
2323 <key >LSRequiresIPhoneOS </key >
2424 <true />
2525 <key >UIApplicationSceneManifest </key >
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ struct ContentView: View {
147147Add the following line to the ` dependencies ` in your [ ` Package.swift ` ] ( https://developer.apple.com/documentation/swift_packages/package ) file:
148148
149149``` swift
150- .package (url : " https://github.com/stleamist/BetterSafariView.git" , .upToNextMajor (from : " 2.0.0 " ))
150+ .package (url : " https://github.com/stleamist/BetterSafariView.git" , .upToNextMajor (from : " 2.0.1 " ))
151151```
152152
153153Next, add ` BetterSafariView ` as a dependency for your targets:
@@ -166,7 +166,7 @@ import PackageDescription
166166let package = Package (
167167 name : " MyPackage" ,
168168 dependencies : [
169- .package (url : " https://github.com/stleamist/BetterSafariView.git" , .upToNextMajor (from : " 2.0.0 " ))
169+ .package (url : " https://github.com/stleamist/BetterSafariView.git" , .upToNextMajor (from : " 2.0.1 " ))
170170 ],
171171 targets : [
172172 .target (name : " MyTarget" , dependencies : [" BetterSafariView" ])
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ public struct SafariView {
6464 /// After the view controller is presented, changes made are not reflected.
6565 ///
6666 /// - Parameters:
67- /// - color: The color to use as a bar accent color. If `nil`, the tint color continues to be inherited.
67+ /// - color: The color to use as a bar accent color. If `nil`, the accent color continues to be inherited.
6868 ///
6969 @available ( iOS 14 . 0 , * )
7070 public func preferredBarAccentColor( _ color: Color ? ) -> Self {
@@ -84,7 +84,7 @@ public struct SafariView {
8484 /// Use `preferredControlAccentColor(_:)` instead of using the view’s [accentColor(_:)](apple-reference-documentation://ls%2Fdocumentation%2Fswiftui%2Fview%2Faccentcolor(_%3A)) method.
8585 ///
8686 /// - Parameters:
87- /// - color: The color to use as a control accent tint color. If `nil`, the tint color continues to be inherited.
87+ /// - color: The color to use as a control accent color. If `nil`, the accent color continues to be inherited.
8888 ///
8989 @available ( iOS 14 . 0 , * )
9090 public func preferredControlAccentColor( _ color: Color ? ) -> Self {
You can’t perform that action at this time.
0 commit comments