Last active
October 11, 2017 22:22
-
-
Save fabiothiroki/8600d5c398ffa62a031b09c3ceb727e0 to your computer and use it in GitHub Desktop.
LocationManagerProtocol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import CoreLocation | |
protocol LocationManager { | |
var delegate: CLLocationManagerDelegate? { get set } | |
func requestWhenInUseAuthorization() | |
func requestLocation() | |
} | |
extension CLLocationManager: LocationManager {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment