API Reference
/
API Methods
/
Install the iOS API Client
Jun. 10, 2019
Install the iOS API Client
- Add a dependency on
InstantSearchClient:CocoaPods: addpod 'InstantSearchClient', '~> 6.0'to yourPodfileforSwift 4.2CocoaPods: addpod 'InstantSearchClient', '~> 5.0'to yourPodfileforSwift 4.1Carthage: addgithub "algolia/algoliasearch-client-swift" ~> 6.0.0to yourCartfileforSwift 4.2Carthage: addgithub "algolia/algoliasearch-client-swift" ~> 5.0.0to yourCartfileforSwift 4.1
- Add
import InstantSearchClientto your source files
Supported platforms
The API client is supported on iOS, macOS, tvOS and watchOS. You can use it from both Swift and Objective-C.
Source on GitHub
All our API clients are open source and available on Github.
Language-specific notes
You can browse the automatically generated reference documentation.
Upgrading
If you were using version 2.x of our Swift client, read the migration guide to version 3.x.