Places Swift SDK for iOS

  • Places Swift SDK for iOS (Preview) offers a Swift-native experience with benefits like value types, default parameters, optionals, concurrency support, and improved type safety, built upon the existing Places SDK for iOS.

  • It's currently in preview mode and exclusively available for new Places SDK for iOS APIs, including Place Autocomplete, Details, Photos, Text Search, and Nearby Search.

  • Migration from the existing Places SDK for iOS can be done incrementally as the new Swift SDK works alongside older implementations.

  • The GitHub URL for Places Swift SDK for iOS (Preview) has been updated to https://github.com/googlemaps/ios-places-sdk, replacing the previous URL.

European Economic Area (EEA) developers

Places Swift SDK for iOS provides a Swift-first version of the Places SDK for iOS SDK. Places Swift SDK for iOS offers all the same capabilities that users are familiar with from the Places SDK for iOS, with many added benefits gained from being implemented directly in Swift. These benefits make use of Swift's unique qualities, and therefore promote writing more idiomatic Swift code.

Key features of the Places Swift SDK include:

Places Swift SDK for iOS is available exclusively in the Places SDK for iOS (New) APIs, which are comprised of the following products:

Migrate from the Places SDK for iOS to the Places Swift SDK for iOS

Places Swift SDK for iOS code works alongside older implementations, so your migration can be done incrementally.

For more information, and to learn how to migrate to the new SDK, review the migration guide.

Next steps