Backtrack-iOS-SDK 1.0.3

Backtrack-iOS-SDK 1.0.3

TestsTested
LangLanguage Obj-CObjective C
License Apache 2
ReleasedLast Release Sep 2015

Maintained by Ahmet Özışık.



 
Depends on:
Mapbox-iOS-SDK~> 1.6.0
AFNetworking~> 2.0
FMDB>= 0
 

  • By
  • Ahmet Ozisik

Backtrack iOS SDK

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

In order to use this SDK, you will need a client access key and secret. The SDK can be integrated for:

  • [x] Login capabilities (registration, etc)
  • [x] Multilingual capabilities
  • [x] Access to your application database
  • [x] Checking & downloading updates-
  • [x] Using pre-calculated data from Backtrack to offer point-to-point navigation

Dependencies

This SDK depends on MapBox, AFNetworking and other third-party open source software. For a full list of dependencies, view the Podspec file.

Installation

backtrack-ios-sdk is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "Backtrack-iOS-SDK"

Configuration

Include "BacktrackClient.h" where necessary and add the following lines to your AppDelegate, inside "didFinishLaunchingWithOptions" method

[BacktrackSDK setBaseURL:@"https://backtrack.sailbright.com/api/"];
[BacktrackSDK setClientID:@"yourClientId" clientSecret:@"yourClientSecret"];
[BacktrackSDK setMapBoundaries:CGVectorMake(mapNorthEnd, mapSouthEnd) westEast:CGVectorMake(mapWestEnd, mapEastEnd)];

To change the color of icons (MakiBundle) downloaded together with the SDK, add the following line to your Podfile

ENV['backtrack-icon-color'] = '7d76ba'

Author

Ahmet Ozisik, [email protected]

License

Backtrack iOS SDK is available under the Apache License. See the LICENSE file for more info.