title: Swift 2 CLLocationManager Error updating
body: <p>i updated Xcode 6 to Xcode 7 beta with Swift 2. I get this error and i can't find out how to fix it, please help me. Thanks. This is my code :</p>
  
  <pre><code> func locationManager(manager: CLLocationManager, didUpdateLocations locations: [AnyObject]) {
      let location = locations.last as! CLLocation
  
      let center = CLLocationCoordinate2D(latitude: location.coordinate.latitude, longitude: location.coordinate.longitude)
      let region = MKCoordinateRegion(center: center, span: MKCoordinateSpan(latitudeDelta: 0.01, longitudeDelta: 0.01))
  
      self.map.setRegion(region, animated: true)
  }
  </code></pre>
  
  <p>and i get this error : </p>
  
  <p><code>Objective-C method 'locationManager:didUpdateLocations:' provided by method 'locationManager(_:didUpdateLocations:)' conflicts with optional requirement method 'locationManager(_:didUpdateLocations:)' in protocol 'CLLocationManagerDelegate'</code></p>