MIT License

Powered by

1 image



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! :)



Sponsored with ❤️ by Instabug

Instabug: Understand how your app is doing with real-time contextual insights from your users

Get all the logs you need and fix bugs, crashes, and other issues in minutes instead of days. With Instabug you will automatically receive device data, network logs, and reproduction steps with every bug and crash report. It only takes a line of code to integrate and is perfect for teams that are now working remotely. See more detailed features comparison and try Instabug for free here.

Get Started Now