tags:

views:

37

answers:

1
@protocol SomeDelegate<NSObject>
//stuff...
@end

Why the <NSObject> part? Couldn't I just do

@protocol SomeDelegate
//stuff...
@end

?

+1  A: 

This question is an exact duplicate of http://stackoverflow.com/questions/679822/why-tack-a-protocol-of-nsobject-to-a-protocol-implementation

Gordon Christie
maybe not 'exactly', but almost. Title and content have different checksums ;)
dontWatchMyProfile
Using the word exact is always dangerous on a site filled with detail-oriented programmers! :)
Gordon Christie