https://github.com/adambco/abcgoogleplacesautocomplete
https://github.com/adambco/abcgoogleplacesautocomplete
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/adambco/abcgoogleplacesautocomplete
- Owner: AdamBCo
- Created: 2014-11-03T22:55:16.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2016-11-08T11:44:41.000Z (over 9 years ago)
- Last Synced: 2025-03-30T19:22:33.391Z (over 1 year ago)
- Language: Objective-C
- Size: 407 KB
- Stars: 75
- Watchers: 3
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
ABCGooglePlacesAutocomplete
========================
ABCGooglePlacesAutocomplete is an easy to use location autocomplete feature that utilizes the Google Places API to suggest locations to the user.


To use ABCGooglePlacesAutocomplete, please do the following:
1. Add all of the files included in the :
```
*ABCGooglePlacesSearchViewController.h
*ABCGooglePlacesSearchViewController.m
*ABCGooglePlacesAPIClient.h
*ABCGooglePlacesAPIClient.m
*ABCGoogleAutoCompleteResult.h
*ABCGoogleAutoCompleteResult.m
*ABCGooglePlace.h
*ABCGooglePlace.m
```
2. Register for the Google Places API by following the linke provided below:
https://code.google.com/apis/console
3. Copy the API key and paste it in the space provided on ABCGooglePlacesAPIClient.m
```
*NSString *const apiKey = @"PASTE API KEY HERE";
```
4. Create an instance of ABCGooglePlacesSearchViewController embedded in a UINavigationController.
5. Add the ABCGooglePlacesSearchViewControllerDelegate delegate methods.
If you have any questions about the project, please don't hesitate to ask.
Enjoy!
Adam