Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ccgus/fmdb.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAugust "Gus" Mueller <gus@flyingmeat.com>2020-05-29 19:28:40 +0300
committerGitHub <noreply@github.com>2020-05-29 19:28:40 +0300
commit2ca2cad644ae9d2bfc5584983b04807b09a443b2 (patch)
tree9d18c199edb36af1c32223b664403c7557afea35
parent61e51fde7f7aab6554f30ab061cc588b28a97d04 (diff)
parentf20ff858837fb83e85b35b982d4bd5445670d887 (diff)
Merge pull request #794 from MartinJNash/mjn/update-readme-spm
Added SPM section to README
-rw-r--r--README.markdown15
1 files changed, 15 insertions, 0 deletions
diff --git a/README.markdown b/README.markdown
index fb72d0d..b943592 100644
--- a/README.markdown
+++ b/README.markdown
@@ -71,6 +71,21 @@ $ carthage update
You can then configure your project as outlined in Carthage's [Getting Started](https://github.com/Carthage/Carthage#getting-started) (i.e. for iOS, adding the framework to the "Link Binary with Libraries" in your target and adding the `copy-frameworks` script; in macOS, adding the framework to the list of "Embedded Binaries").
+### Swift Package Manager
+
+Declare FMDB as a package dependency.
+```swift
+.package(
+ name: "FMDB",
+ url: "https://github.com/ccgus/fmdb",
+ .upToNextMinor(from: "2.7.7")),
+```
+
+Use FMDB in target dependencies
+```swift
+.product(name: "FMDB", package: "FMDB")
+```
+
## FMDB Class Reference:
https://ccgus.github.io/fmdb/html/index.html