Places Swift SDK for iOS (Preview) provides a Swift-first version of the Places SDK for iOS SDK. Places Swift SDK for iOS (Preview) 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.
Places Swift SDK for iOS (Preview)'s key features include:
- Extensive use of value types, default parameter values, and optionals
- Support for Swift concurrency.
- Improved type-safety.
Currently, Places Swift SDK for iOS (Preview) is available exclusively in the Places SDK for iOS (New) APIs, which are comprised of the following products:
- Place Autocomplete (New)
- Place Details (New)
- Place Photos (New)
- Text Search (New)
- Nearby Search (New)
Migrating from the Places SDK for iOS to the Places Swift SDK for iOS (Preview)
Places Swift SDK for iOS (Preview) 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
- Learn how to enable the Places SDK for iOS and start using Places Swift SDK for iOS (Preview).
- Review the Places Swift SDK for iOS (Preview) API Reference.
- See the release notes for Places Swift SDK for iOS (Preview)