title: Swift, CLLocationManagerDelegate in NSObject not working
body: <p>i have problem with getting my location with CLLocationDelegate.
  i created new subclass of UIView and work well, but when i created subclass of NSObject, CLLocationDelegate not called. I can find where is problem.
  here is my code: </p>
  
  <pre><code>import UIKit
  import CoreLocation
  
  class LocationData: NSObject, CLLocationManagerDelegate {
  
  var locationManager : CLLocationManager = CLLocationManager()
  
  override init() {
      super.init()
      if self.locationManager.respondsToSelector(Selector("requestAlwaysAuthorization")) {
          self.locationManager.requestWhenInUseAuthorization()
      }
      self.locationManager.delegate = self
      self.locationManager.desiredAccuracy = kCLLocationAccuracyBest
      self.locationManager.distanceFilter = 50
      self.locationManager.startUpdatingLocation()
      println("init LocationData")
  }
  
      func locationManager(manager: CLLocationManager!, didFailWithError error: NSError!) {
      println(error.description)
      }
  
      func locationManager(manager: CLLocationManager!, didUpdateToLocation newLocation: CLLocation!, fromLocation oldLocation: CLLocation!) {
      println("updated")
      }
  }
  </code></pre>
  
  <p>Thanks!</p>