Skip to content

Commit

Permalink
Bump to v2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
stleamist committed Aug 22, 2020
2 parents 5b75235 + a79440f commit daeac97
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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`.
Expand Down
4 changes: 4 additions & 0 deletions Demo/BetterSafariViewDemo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions Demo/BetterSafariViewDemo/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>1</string>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UIApplicationSceneManifest</key>
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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"])
Expand Down
4 changes: 2 additions & 2 deletions Sources/BetterSafariView/SafariView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 {
Expand Down

0 comments on commit daeac97

Please sign in to comment.