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
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime
Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of SwiftLocation!