Learn Swift and iOS Development
Master iOS development through in-depth tutorials and comprehensive courses on Swift, SwiftUI, UIKit, Core Data, and more.
Master iOS development through in-depth tutorials and comprehensive courses on Swift, SwiftUI, UIKit, Core Data, and more.
The CLGeocoder class is part of the Core Location framework and it has been around since iOS 5 and macOS 10.8. Initially, the functionality of the CLGeocoder class was limited to reverse geocoding addresses into coordinates. Since iOS 8 and macOS 10.10, however, it is also possible to fetch the coordinates of addresses. In this tutorial, you learn how to do both using Xcode 9 and Swift 3.
In the previous tutorial, we explored forward geocoding with the CLGeocoder class, a member of the Core Location framework. This tutorial zooms in on reverse geocoding, another capability of the CLGeocoder class.