Swiftpack.co - Package - appoly/AtlasKit
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.


A swift library for quickly integrating a location search in your app.

Installing with cocoapods

pod 'AtlasKit'

Quick start

First start by creating a AtlasKit object with a datasource: Apple, Google or GetAddress.io. An AtlasKit instance with an apple datasource will try to use Apple Maps to get locations, whereas one with a Google or GetAddress datasource will take an API key when initializing and try to make use of the respective API ( Google Places or GetAddress).

Once you have your instance setup you can begin making search requests, you can do this with or without a delay (for use with textfields that search as you type).

atlasKit.performSearchWithDelay(term, delay: 0.5) { predictions, error in

atlasKit.performSearch(term) { { predictions, error in

You can also cancel all pending searches with;


Search predictions are instances of the AtlasKitPlace object, which consists of; a street address, a city, a postcode, a state, a country, a location (coordinates). Be aware that each of these values are optional and may not always be available.

Warning - this library was only intended to be used for UK locations, as a result the postcode value is not supported outside of the UK.


Stars: 0



'GetAddress' improvements and readme update - 2021-01-19T10:38:43

GetAddress integration fix - 2021-01-15T09:24:40

GetAddress - 2021-01-14T16:00:49

Adds getaddress.io to datasources

- 2020-08-17T09:33:56

Fixes internal initialiser issue - 2020-08-14T11:15:24

Project Structure Fix - 2020-08-14T09:39:05

Fix for podspec validation

Packages Resolved - 2020-08-14T09:35:39

Initial Pod Release - 2020-08-14T09:26:01