Company NewsProcessing & Storage

Google releases version 4.0 of the Maps and Places SDKs for iOS

Press Release 14 Oct - 21:36 SAST

Google releases version 4.0 of the Maps and Places SDKs for iOS

Press Release 14 Oct - 21:36 SAST

by Christopher Arriola, Google Cloud

Google today released the new versions of Maps and Places SDKs for iOS. With version 4.0, both SDKs now support apps for devices running a minimum version of iOS 10, while the Places SDK was improved to provide a more intuitive API and better support for Swift developers.

Increasing the minimum iOS version improves developer velocity as it’s one less version to test against. The company will however still support Versions 3.x Maps and Places SDKs.

Fetching multiple fields when obtaining Place details requires combining GMSPlaceField types. Before Places SDK for iOS 4.0, combining fields in Swift required either force unwrapping, or conditional unwrapping, giving it the impression that combining certain types is unsafe. Beginning with version 4.0, the Places SDK for iOS ends support of a handful of deprecated APIs in favour of alternatives.

Developers can now install version 4.0 of the Maps and Places SDK for iOS through CocoaPods or Carthage. The company also recommend the use of Xcode 11.7 or later for this version of the SDK.