4 ms·
Looks good. Just FYI: There's already a MapKit class called MKPointAnnotation that provides a simple implementation of MKAnnotation, so your Place class is redu
by shadowmatter 15y ago
Looks good. Just FYI: There's already a MapKit class called MKPointAnnotation that provides a simple implementation of MKAnnotation, so your Place class is redundant:
MKPointAnnotation *point = [[MKPointAnnotation alloc] init];
point.coordinate = CLLocationCoordinate2DMake(35.01234, -115.56789);
point.title = @"The title!";
point.subtitle = @"The subtitle!";
[point release];
- gimenete 15y agoThanks for your comment. I didn't know about MKPointAnnotation.