InstantSearch iOS
If you're looking to build search interfaces on iOS with Algolia, then you should check out InstantSearch iOS which is built on top of this library, and provides UI building blocks to build search experiences. Otherwise, keep reading.
InstantSearch Core for Swift
This is the InstantSearch Core library for Swift, built on top of Algolia's Swift API Client, using Algolia's Search API. It works on macOS, iOS, tvOS and watchOS.
You can always find the latest version of the user documentation on Algolia Documentation.
Installation
If you use Swift version earlier than 4.2, you have to use the version 3.3 of InstantSearch Core. This version is outdated and not recommended for use.
CocoaPods
CocoaPods is a dependency manager for Cocoa projects.
To install InstantSearch, simply add the following line to your Podfile:
Swift 5.0
pod 'InstantSearchCore', '~> 6.0'
Swift 4.2+
pod 'InstantSearchCore', '~> 5.0'
Swift 4.1
pod 'InstantSearchcore', '~> 3.3'
Then, run the following command:
$ pod update
Carthage
Carthage is a simple, decentralized dependency manager for Cocoa.
To install InstantSearch, simply add the following line to your Cartfile:
Swift 5.0
github "algolia/instantsearch-core-swift" ~> 6.0
Swift 4.2+
github "algolia/instantsearch-core-swift" ~> 5.0
Swift 4.1
github "algolia/instantsearch-core-swift" ~> 3.3
License
InstantSearch Core iOS is Apache 2.0 licensed.