GooglePlaces Framework Reference

  • GMSPlacesClient provides methods for searching, retrieving details, and interacting with places data using the Google Places SDK for iOS.

  • Access the shared instance via [GMSPlacesClient sharedClient] and ensure all calls are made from the main thread.

  • Key functionalities include place lookups, autocomplete suggestions, photo retrieval, and current place estimation.

  • Methods utilize callbacks for asynchronous operations, invoked on the main thread unless specified otherwise.

  • Refer to the documentation for detailed information on each method, parameters, and deprecation notices.

GMSPlacesClient

@interface GMSPlacesClient : NSObject

Main interface to the Places SDK. Used for searching and getting details about places. This class should be accessed through the [GMSPlacesClient sharedClient] method.

GMSPlacesClient methods should only be called from the main thread. Calling these methods from another thread will result in an exception or undefined behavior. Unless otherwise specified, all callbacks will be invoked on the main thread.