GooglePlacesClone
This repository aims for a tutorial on how to use the Google Places API.
Current Google Places version used is 2.3
Requirements
iOS 9.0+ Xcode 8.0+ / Swift 3.0
You will need to add an API Key to GooglePlacesClone/AppDelegate.m
. Please see the
documentation
for details on how to get an API Key.
Screenshots
List of Items | Current Place | Place Autocomplete | Place Picker |
Features!
1)Get Current Places
- Using the Google Places API for iOS, you can discover the place where the device is currently located. That is, the place at the device's currently-reported location.Please see the documentation
2)Place Autocomplete
- The autocomplete service in the Google Places API for iOS returns place predictions in response to user search queries. As the user types, the autocomplete service returns suggestions for places such as businesses, addresses and points of interest.Please see the documentation
3)Place Picker
- The place picker is a simple and yet flexible built-in UI widget, part of the Google Places API for iOS.Please see the documentation
Installation
CocoaPods
CocoaPods is a dependency manager for Cocoa projects. To install it, simply add the following line to your Podfile:
pod 'GooglePlacePicker'
pod 'GooglePlaces'
pod 'GoogleMaps'
License
GooglePlacesClone is available under the MIT license. See the LICENSE file for more info.