I can't figure out how to test for a lack of success when getting the map's current location.
let source = MKMapItem.mapItemForCurrentLocation()
// returns an object with:
// isCurrentLocation = 1
// name="Unknown location"
I could test source.name == "Unknown location"
but that would be terrible and bad.
So... how do I detect failure/nil in this case?
Something like this ?
in viewDidLoad:
Delegates