ABCGooglePlacesAutocomplete for iOS by Adam Cooper

Download Source

ABCGooglePlacesAutocomplete is an easy to use location autocomplete feature that utilizes the Google Places API to suggest locations to the user.

To use GooglePlacesAutocomplete, please do the following:

Add the follwing files to your project: *SearchViewController.h *SearchViewController.m *SelectedLocation.h *SelectedLocation.m

Register for the Google Places API by following the linke provided below:

Copy the API key and paste it in the space provided on SearchViewController.m *NSString *const apiKey = @"PASTE API KEY HERE";

Create a ViewController and add a UITablView and UITableViewCell.

Add the delegate methods and make the approprate connections to the IBOutlets in the SearchViewController.m.

Create a segue that links the SearchViewController to the ViewController you want to have the selectedLocation information.

If you have any questions about the project, please don't hestiate to ask.

Enjoy! :)


License: MIT

Language: Objective-C

by 4 people

(Click the stars to add your rating)

Sponsored with ❤️ by Instabug
Why do mobile-first companies choose Instabug over Crashlytics

Instabug helps you identify and resolve severe crashes quickly. You can retrace in-app events and know exactly which line of code caused the crash along with environment details, network logs, repro steps, and the session profiler. Ask more questions or keep users up-to-date with in-app replies straight from your dashboard. We take data privacy seriously, so no one sees your data but you!