dhardiman / Spot

Simple CoreLocation wrapper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
  }
}

About

Simple CoreLocation wrapper

License:MIT License


Languages

Language:Swift 98.5%Language:Objective-C 1.5%