Spot

1.2.1

Simple CoreLocation wrapper
dhardiman/Spot

What's New

Add SPM package

2019-06-04T12:00:13Z

Simple wrapper around CLLocationManager to make it easy to get the current location of the device.

Usage

let service = LocationService()
service.requestLocation { result in
  switch result {
    case .success(let coordinate):
      // use coordinate
    case .failure(let error):
      // handle error
  }
}

Description

  • Swift Tools 5.0.0
View More Packages from this Author

Dependencies

  • None
Last updated: Fri Oct 18 2024 17:49:18 GMT-0900 (Hawaii-Aleutian Daylight Time)