If I implement MKMapViewDelegate like so:
func mapView(mapView: MKMapView, annotationView view: MKAnnotationView, calloutAccessoryControlTapped control: UIControl) {
guard let item = view.annotation else { return }
and then I try to look at item.title, it's showing as a String?? instead of a String? in Xcode 7.1.1
If I control-click on annotation it says it's an MKAnnotation? like I'd expect. Control-clicking on that shows title defined like so, which looks correct to me. Is this a bug I need to report?
optional public var title: String? { get }