Can anyone tell me what the angle brackets <...>
in an Objective-C class interface do? Like this one (from http://snipt.net/robhawkes/cocoa-class-interface):
@interface MapMeViewController : UIViewController <CLLocationManagerDelegate,
MKReverseGeocoderDelegate, MKMapViewDelegate, UIAlertViewDelegate> { ... }
From my view they look like some sort of type declaration (considering my previous experience in PHP and JavaScript), like we're making sure MapMeViewController
is a CLLocationManagerDelegate
, MKReverseGeocoderDelegate
, MKMapViewDelegate
, or UIAlertViewDelegate
Documentation about the @interface
syntax don't seem to mention this.