Skip to main content
BaatoSwift wraps the Baato API in completion-handler methods that return Swift Result values, so success and failure are handled in one switch.

Podspec on GitHub

baato/BaatoPodSpec

Turn-by-turn example

Navigation in an iOS app.

Installation

BaatoSwift is distributed as a CocoaPod from Baato’s own spec repository. Add both the source and the pod to your Podfile:
Then run:
Replace ${LatestVersion} with the current version from the podspec repository.

Creating a client

Initialise once with your access token, then set the parameters for each request as properties before calling the matching method.

Usage

Search — place suggestions

timeInMs is milliseconds, not seconds. See core concepts.

Next

Turn-by-turn navigation

A complete navigation implementation.

Map Styles API

Style URLs for MapLibre and Mapbox on iOS.