Skip to content
A demo that shows how to use Protocols to get the latest location from the locationManager update and how to reverse Geocode the latitude and longitude to get the address string.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LocationDelegateDemo.xcodeproj
LocationDelegateDemo
README.md

README.md

CLocation-Geocoding-Demo

This is a simple Xcode project that demonstrates how to decouple location based functionality from the ViewController of an iOS app. More specifically how to seggragate location based features from any UIKit based code.

In this example, you can get the ViewController user's location from CoreLocation as well as the actual address of the GPS coordinates via ReverseGeocoding without a single import of the CoreLocation in the UIViewController class.

This is achieved with the user of Swift protocol, the delegate pattern and completion handlers.

For more useful tips and tricks, checkout My Day To-Do blog.

You can’t perform that action at this time.