title: SWIFT: Map - Location issue
body: <p>I'm new to Swift and write an app to show my locally saved locations on a map. In one ViewController I save the locations</p>
  
  <pre><code>func locationManager(manager: CLLocationManager!,
      didUpdateLocations locations: [AnyObject]!)
  {
      var latestLocation: AnyObject = locations[locations.count - 1]
  
      latitudeLabel.text = String(format: "%.4f",
          latestLocation.coordinate.latitude)
      longitudeLabel.text = String(format: "%.4f",
          latestLocation.coordinate.longitude)
  </code></pre>
  
  <p>In an other ViewController I try to show it on the map but since in the second I had to import the MapKit, in the first ViewController appeared an error. </p>
  
  <pre><code>import MapKit
  </code></pre>
  
  <p>class MapViewController: UIViewController {</p>
  
  <pre><code>@IBOutlet weak var mapView: MKMapView!
  
  
  // set initial location in Honolulu
  let initialLocation = CLLocation(latitude: 21.282778, longitude: -157.829444)
  
  let regionRadius: CLLocationDistance = 1000
  func centerMapOnLocation(location: CLLocation) {
      let coordinateRegion = MKCoordinateRegionMakeWithDistance(location.coordinate,
          regionRadius * 2.0, regionRadius * 2.0)
      mapView.setRegion(coordinateRegion, animated: true)
  }
  
  override func viewDidLoad() {
      super.viewDidLoad()
  
      // Do any additional setup after loading the view.
  }
  </code></pre>
  
  <p>I know that the coordinates are no longer supported by the MapKit and instead of AnyObject I should use but I don't know how exactly should I change the locationManager code. :(</p>
  
  <p>Hope someone can help.</p>