Skip to content

JohnYezub/Location-Manager-Example

Repository files navigation

Location-Manager-Example

Custom class inherits NSObject. Init with CLLocationManager setup. Confirms CLLocationManagerDelegate methods. Once the location is updated - notify! Use of CoreLocation requires only in this class.

Location-Manager-Example

Usage:

  • CLLocationManagerDelegate
  • CLLocationManager
  • CoreLocation
  • Completion block

Features:

  • requests location once
  • notify ViewController with completion
  • display location in label (lat lon)
  • display place mark in label
  • notify if error occures

Releases

No releases published

Packages

No packages published

Languages