TestsTested | ✓ |
LangLanguage | SwiftSwift |
License | BSD |
ReleasedLast Release | Nov 2017 |
SPMSupports SPM | ✗ |
Maintained by Minh Nguyễn, Fredrik Karlsson.
OSRM Text Instructions is a library for iOS, macOS, tvOS, and watchOS applications written in Swift 4 or Objective-C that transforms OSRM route responses into localized text instructions. The last tagged version for Swift 3.2 is v0.5.0
and the code is also available on the branch swift3.2
.
You can use OSRM Text Instructions in conjunction with MapboxDirections.swift and MapboxNavigation.swift to generate visual and voice guidance in a turn-by-turn navigation application.
OSRM Text Instructions for Swift is based on the canonical osrm-text-instructions library written in JavaScript. Both versions are translated at Transifex – please help us add support for the languages you speak.
Specify the following dependency in your Carthage Cartfile:
github "Project-OSRM/osrm-text-instructions.swift" ~> 0.6.0
Or in your CocoaPods Podfile:
pod 'OSRMTextInstructions', '~> 0.6.0'
Then import OSRMTextInstructions
or @import OSRMTextInstructions;
.