Skip to content

Commit c29ec30

Browse files
committed
Add documentation
1 parent 0eeedfe commit c29ec30

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Documentation/Index.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,26 @@ install SQLite.swift with Carthage:
111111
112112
3. Run `pod install`.
113113
114+
#### Requiring a specific version of SQLite
115+
116+
If you want to use a more recent version of SQLite than what is provided with the OS you can require the `standalone` subspec:
117+
118+
``` ruby
119+
pod 'SQLite.swift/standalone', '~> 0.10.1'
120+
```
121+
122+
By default this will use the most recent version of SQLite without any extras. If you want you can further customize this by adding another dependency to sqlite3 or one of its subspecs:
123+
124+
``` ruby
125+
pod 'SQLite.swift/standalone', '~> 0.10.1'
126+
pod 'sqlite3/fts5', '= 3.11.1' # SQLite 3.11.1 with FTS5 enabled
127+
```
128+
129+
See the [sqlite3 podspec][sqlite3pod] for more details.
130+
114131
[CocoaPods]: https://cocoapods.org
115132
[CocoaPods Installation]: https://guides.cocoapods.org/using/getting-started.html#getting-started
133+
[sqlite3pod]: https://github.com/clemensg/sqlite3pod
116134

117135

118136
### Manual

0 commit comments

Comments
 (0)