Guest User

Untitled

a guest
Nov 20th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. func mapView(_ mapView: MKMapView, didSelect view: MKAnnotationView) {
  2. let annotation = view.annotation
  3. let index = (self.mapView.annotations as NSArray).index(of: annotation!)
  4. print("index is (allStudios[index].studioAddress)")
  5.  
  6. }
Add Comment
Please, Sign In to add comment