ios_google_places_autocomplete
ios_google_places_autocomplete copied to clipboard
Replaced code deprecated in iOS 9.0
CFURLCreateStringsByAddingPercentEscapes() function was deprecated in iOS 9.0, and Xcode was throwing up a warning each time I built my app. I updated the code in escape(string: String) -> String function to use NSString().stringByAddingPercentEncodingWithAllowedCharacters() instead. Autocomplete still works correctly and the warning has disappeared.
Massive thanks to watsonbox for publishing this code originally!
Well, that's weird. Why did the Travis-CI fail?