Răsfoiți Sursa

Update Swift Package Manager README info (#553)

* Update Swift Package Manager README info

Change the installation instructions for the Swift Package Manager
to support the latest Swift 4 API updates.

* Use .upToNextMinor instead of from
Franklin Schrans 7 ani în urmă
părinte
comite
289ef07b2f
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -155,7 +155,7 @@ You can use [Swift Package Manager](https://swift.org/package-manager/) and spec
 
 ```swift
 dependencies: [
-    .Package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", majorVersion: 0)
+    .package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", .upToNextMinor(from: "0.8.0"))
 ]
 ```
 
@@ -163,7 +163,7 @@ or more strict
 
 ```swift
 dependencies: [
-    .Package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", "0.7.2"),
+    .package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", .exact("0.8.0"))
 ]
 ```