-
Notifications
You must be signed in to change notification settings - Fork 118
Open
Description
the fileprivate func geoCodeAddress(_ address:NSString){} caused an error due to a
warning: could not load any Objective-C class information from the dyld shared cache. This will significantly reduce the quality of type information available.
To correct it , it's enough to correct this line:
geocoder.geocodeAddressString(address as String, completionHandler: ({(placemarks: [CLPlacemark]?, error: NSError?) -> Void in
to:
geocoder.geocodeAddressString(address as String, completionHandler: ({(placemarks: [CLPlacemark]?, error: Error?) -> Void in
You can find more details also here in SO
You also don't need to force casting to as! CLGeocodeCompletionHandler, so it can be removed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels