SwiftLocation is a lightweight Swift wrapper around Apple's CoreLocation framework built around Swift Concurrency. It replaces common delegate and completion-handler patterns with direct async and await calls. Developers can request permissions, retrieve a single location, or continuously monitor position changes. The library also covers visits, significant location changes, heading updates, regions, and beacon ranging. APIs expose authorization status, service availability, accuracy authorization, and temporary precision permissions. Version 6 was rewritten around concurrency, includes a testing suite with a mocked CLLocationManager, and supports major Apple platforms through Swift Package Manager.
Features
- One-shot and continuous location requests
- Async and await CoreLocation APIs
- Location permission and accuracy management
- Visit and significant-change monitoring
- Heading, region, and beacon support
- Mocked CLLocationManager testing suite
Categories
FrameworksLicense
MIT LicenseFollow SwiftLocation
Other Useful Business Software
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of SwiftLocation!