TestsTested | ✓ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Sep 2017 |
SwiftSwift Version | 4.0 |
SPMSupports SPM | ✓ |
Maintained by alexruperez.
CLLocationManager Swift 4 wrapper with multiple closure handlers and delegates allowed, notifications, sequential geofencing, self-authorization and, of course, everything is testable. #InCodeWeTrust
IGZLocation is available through CocoaPods. To install
it, simply add the following line to your Podfile:
pod "IGZLocation"
For Swift 3 compatibility use:
pod 'IGZLocation', '~> 1.0'
dependencies: [
.Package(url: "https://github.com/intelygenz/IGZLocation.git")
]
_ = IGZLocation.shared.authorize(.authorizedAlways) { status in
}
IGZLocation.shared.requestLocation { location in
}
IGZLocation.shared.startRegionUpdates(region, sequential: true, notify: true, { region, state in
})
IGZLocation.shared.startVisitUpdates { visit, visiting in
}
IGZLocation.shared.startHeadingUpdates { heading in
}
alexruperez, [email protected]
IGZLocation is available under the MIT license. See the LICENSE file for more info.