Skip to content

Commit 02fa3b3

Browse files
committed
Update README to add instructions for Swift 5
1 parent 7ea2f7f commit 02fa3b3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,14 @@ and is usable from both **Swift** and **Objective-C**.
5656

5757
## Install
5858

59+
### Swift 5.0
60+
61+
1. Add a dependency on InstantSearchClient:
62+
- CocoaPods: add `pod 'InstantSearchClient', '~> 7.0'` to your `Podfile`.
63+
- Carthage: add `github "algolia/algoliasearch-client-swift" ~> 7.0.0` to your `Cartfile`.
64+
- SwiftPM: add `.package(url:"https://github.com/algolia/algoliasearch-client-swift", from: "7.0.0")` to your package dependencies array in `Package.swift`, then add `InstantSearchClient` to your target dependencies.
65+
2. Add `import InstantSearchClient` to your source files.
66+
5967
### Swift 4.2
6068

6169
1. Add a dependency on InstantSearchClient:

0 commit comments

Comments
 (0)