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 yourPodfile
forSwift 4.2
CocoaPods
: addpod 'InstantSearchClient', '~> 5.0'
to yourPodfile
forSwift 4.1
Carthage
: addgithub "algolia/algoliasearch-client-swift" ~> 6.0.0
to yourCartfile
forSwift 4.2
Carthage
: addgithub "algolia/algoliasearch-client-swift" ~> 5.0.0
to yourCartfile
forSwift 4.1
- Add
import InstantSearchClient
to 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.