In figure 5.2, there’s a method mapView:didAddAnnotationViews: which I could not find throughout the Chapter. Any reason for that?
In figure 5.13, I’m quite confused about some arrows (pointers??) and classes which I couldn’t find in the Chapter.
- What are the two ‘annotation’ pointed by MKAnnotationView? How about the ‘annotations’ and ‘subviews’ pointed by MKMapView?
- Where were the class MKAnnotationView used in the example codes? How were they used?
- Why did MKUserLocation also conform to MKAnnotation protocol? I can only find BNRMapPoint conforming to the protocol by stating @interface BNRMapPoint : NSObject .
- And also the rectangles ‘subviews’ and ‘annotations’ point to.
Sorry for so many questions on it but i really cannot figure it out even though I’ve read through the Chapter for a few times and have completed the exercises.
Can someone help explain about that? Thanks!!!