GooglePlaces Framework Reference

GMSPlaceSearchResponse

@protocol GMSPlaceSearchResponse <NSObject>

Protocol for the response to a place search request.

  • The array of places that match the request.

    Declaration

    Swift

    var places: [GMSPlace]? { get }

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSArray<GMSPlace *> *places;
  • A list of routing summaries where each entry associates to the corresponding place in the same index in the places field.

    Declaration

    Swift

    var routingSummaries: [GMSPlaceRoutingSummary]? { get }

    Objective-C

    @property (nonatomic, readonly, nullable) NSArray<GMSPlaceRoutingSummary *> *routingSummaries;