On Nov 27, 2010, at 12:35 PM, David Duncan <david.dun...@apple.com> wrote:
> fortunately you can declare that your protocol inherits from another, and > there is also an NSObject protocol that defines the core functionality of the > class, so you can do this when you declare your protocol and never need to > worry about "NSObject<someProtocol>" > > @protocol SomeProtocol : NSObject > // stuff AFAIK protocols don't inherit from each other but rather conform to each other, meaning the above should be @protocol SomeProtocol <NSObject> But maybe I'm just unaware of new syntax in the latest compiler? --Andy _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com