What does < > mean / represent in a class interface?

cocoa, objective-c

Solution

The angle brackets denote Protocols that this class meets. There are details on Protocols int the Objective-C Wikipedia article that may help clear up some things for you. Protocols contain both required and optional routines that your class could supply. In the latter case if the routine is not implemented by your class a default implementation/behavior is used instead.

Problem

I am sure I have read this somewhere, Can anyone tell me what the < > represent in the following interface? ``` @interface GameFinder : NSObject <NSNetServiceBrowserDelegate> @end ``` is NSObject adopting `<NSNetServiceBrowserDelegate>` ? EDIT One thing that is confusing me ... in the example I have.The interface shows NSNetServiceBrowserDelegate ``` @interface ITunesFinder : NSObject <NSNetServiceBrowserDelegate> @end ``` but the implementation shows netServiceBrowser, are these one in the same? ``` @implementation ITunesFinder -(void) netServiceBrowser: (NSNetServiceBrowser *) browser didFindService: (NSNetService *) service moreComing: (BOOL) moreComing { ``` gary

Original source