How to extend MKPointAnnotation and add a property to it
问题 I'm trying to extend MKPointAnnotation and add a property to for an NSString called dealLink. I thought I set it up correctly, but I'm getting this error at the moment: Property 'dealLink' not found on object of type 'MKPointAnnotation *' Here's my code in a view controller called MapOffersViewController.m: #pragma mark - Populate Map - (void)populateMap:(MKMapView*)map withDeals:(NSArray*) deals { NSLog(@"Deals " ); for (NSDictionary *currentDeal in deals) { CLLocationCoordinate2D ctrpoint;