Advertisement
Guest User

Untitled

a guest
Aug 25th, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. override func viewDidLoad() {
  2. super.viewDidLoad()
  3.  
  4.  
  5. title = "Map"
  6.  
  7. locationManager.delegate = self
  8.  
  9. if CLLocationManager.authorizationStatus() == .NotDetermined {
  10. locationManager.requestWhenInUseAuthorization()
  11. } else {
  12. locationManager.startUpdatingLocation()
  13. }
  14.  
  15. print(Realm.Configuration.defaultConfiguration.path!)
  16. populateMap()
  17.  
  18.  
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement