Skip to content

Commit daeac97

Browse files
committed
Bump to v2.0.1
2 parents 5b75235 + a79440f commit daeac97

File tree

5 files changed

+14
-6
lines changed

5 files changed

+14
-6
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
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`.

Demo/BetterSafariViewDemo.xcodeproj/project.pbxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,7 @@
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;
@@ -358,6 +359,7 @@
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;
@@ -371,6 +373,7 @@
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;
@@ -380,6 +383,7 @@
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;

Demo/BetterSafariViewDemo/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
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>

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ struct ContentView: View {
147147
Add 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

153153
Next, add `BetterSafariView` as a dependency for your targets:
@@ -166,7 +166,7 @@ import PackageDescription
166166
let 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"])

Sources/BetterSafariView/SafariView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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 {

0 commit comments

Comments
 (0)