|ReleasedLast Release||May 2016|
Pretracking, a location manager that starts fine-grained monitoring when a user is within a region of interest, and make decision based on current context. For the moment, only distance feature is implemented by default.
latitude, longitude, radius of monitoring region
distanceto the region
accuracyof location tracking when the user is outside of the region.
setupParameters(distance: Double, latitude: Double, longitude: Double, radius: Double, accuracy: CLLocationAccuracy)
addLocation(distance: Double, latitude: Double, longitude: Double, radius: Double, name: String)
To run the example project, clone the repo, and run
pod install from the Example directory first.
Pretracking is available through CocoaPods. To install it, simply add the following line to your Podfile:
Pretracking is available under the MIT license. See the LICENSE file for more info.