TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | May 2016 |
SPMSupports SPM | ✗ |
Maintained by Yongsung Kim, Kapil Garg.
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
distance
to the regionaccuracy
of location tracking when the user is outside of the region.Example:
setupParameters(distance: Double, latitude: Double, longitude: Double, radius: Double, accuracy: CLLocationAccuracy)
addLocation(distance: Double, latitude: Double, longitude: Double, radius: Double, name: String)
removeLocation(name: String)
notifyPeople()
in MyPretracker.swiftTo 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:
pod "Pretracking"
notifyPeople()
Pretracking is available under the MIT license. See the LICENSE file for more info.