GooglePlacesSwift 0.2.0

GooglePlacesSwift 0.2.0

Maintained by Pushkar Sharma, Google, Ally Li, Dave Weston, Bob Liu, Zihan Tong, Christopher Truman, Zion Calvo, Leonard hourvitz, Daniel Teh, Melissa Regalia, Behzad Dogahe, Ryan Kubiak, Yingchen Wang.



  • By
  • Google, Inc.

Google Places Swift SDK for iOS

NOTE: This pod is the official pod for the Google Places Swift SDK for iOS.

This pod contains the Google Places Swift SDK for iOS, supporting only Swift.

Use the [Google Places Swift SDK for iOS]
(https://developers.google.com/maps/documentation/places/ios-sdk) to build location-aware apps that respond contextually to the local businesses and other places near the user's device. Included features:

  • Search Nearby returns a list of places where the user’s device is last known to be located.
  • Place Autocomplete automatically fills in the name and/or address of a place as users type.
  • Place Photos returns high-quality images of a place.
  • Place Details return and display more detailed information about a place.

Installation

  1. Before you can use the Google Places Swift SDK for iOS, follow these setup instructions to set up a project and get an API key. You will need to add the API key to your code in order to build your app with the Places SDK for iOS.

  2. To integrate Google Places Swift SDK for iOS into your Xcode project using CocoaPods,
    specify it in your Podfile, for example:

    source 'https://github.com/CocoaPods/Specs.git'
    platform :ios, '15.0'
    target 'YOUR_APPLICATION_TARGET_NAME_HERE' do
      pod 'GooglePlacesSwift', '0.1.0'
    end

    Then, run the following command:

    $ pod install
  3. Follow additional steps in the "Set up an Xcode project" guide to add your API key to your project, import classes, and add a map.

Resources

  • Guides: Read the documentation for full use of the SDK.
  • Tutorial videos: Watch code walkthroughs and useful tips on our YouTube channel.
  • Code samples: In order to try out our demo app, refer to the demo app on GitHub.
  • Support: Ask the community or get help from Google using the links on the Places Swift SDK for iOS support page.
  • Report issues: Use our issue tracker to file a bug
    or a feature request.

License and Terms of Service

By using the Google Places Swift SDK for iOS you accept Google's Terms of Service and
Policies. Pay attention particularly to the following aspects:

  • Depending on your app and use case, you may be required to display
    attribution. Read more about attribution requirements.
  • Be sure to understand usage and billing information related to use of the Maps SDK for iOS.
  • The Terms of Service are a
    comprehensive description of the legal contract that you enter with Google
    by using the Google Places Swift SDK for iOS.