Latest 1.1.0
Homepage https://github.com/intelygenz/IGZLocation
License MIT
Platforms ios 8.0
Frameworks Foundation, CoreLocation
Authors

Twitter
Version
License
Platform
Carthage compatible
Swift Package Manager Compatible
Build Status

CLLocationManager Swift 4 wrapper with multiple closure handlers and delegates allowed, notifications, sequential geofencing, self-authorization and, of course, everything is testable. #InCodeWeTrust

IGZLocation Screenshot

Installation

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'

Or you can install it with Carthage:

github "intelygenz/IGZLocation"

Or install it with Swift Package Manager:

dependencies: [
    .Package(url: "https://github.com/intelygenz/IGZLocation.git")
]

Usage

_ = 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

}

Etc.

  • Contributions are very welcome.
  • Attribution is appreciated (let’s spread the word!), but not mandatory.

Author

alexruperez, [email protected]

License

IGZLocation is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "IGZLocation",
    "version": "1.1.0",
    "summary": "CLLocationManager Swift 4 wrapper with multiple closure handlers and delegates allowed, notifications, sequential geofencing, self-authorization and, of course, everything is testable. #InCodeWeTrust",
    "description": "# IGZLocationnCLLocationManager Swift 4 wrapper with multiple closure handlers and delegates allowed, notifications, sequential geofencing, self-authorization and, of course, everything is testable. #InCodeWeTrust",
    "homepage": "https://github.com/intelygenz/IGZLocation",
    "screenshots": "https://raw.githubusercontent.com/intelygenz/IGZLocation/master/screenshot.gif",
    "license": "MIT",
    "authors": {
        "Alex Rupeu0301rez": "[email protected]"
    },
    "social_media_url": "http://twitter.com/intelygenz",
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/intelygenz/IGZLocation.git",
        "tag": "1.1.0"
    },
    "source_files": "IGZLocation/*.swift",
    "frameworks": [
        "Foundation",
        "CoreLocation"
    ],
    "pushed_with_swift_version": "4.0"
}

Pin It on Pinterest

Share This