8000 GitHub - swiftmade/backtrack-ios-sdk: Backtrack iOS SDK
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Mar 14, 2023. It is now read-only.

swiftmade/backtrack-ios-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backtrack iOS SDK

[CI Status](https://travis-ci.org/Ahmet Ozisik/backtrack-ios-sdk) Version License Platform

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:

  • Login capabilities (registration, etc)
  • Multilingual capabilities
  • Access to your application database
  • Checking & downloading updates-
  • 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, ozisikahmet@gmail.com

License

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

About

Backtrack iOS SDK

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0