Re: DO: Protocols and Categories don't play nice
Re: DO: Protocols and Categories don't play nice
- Subject: Re: DO: Protocols and Categories don't play nice
- From: Greg Titus <email@hidden>
- Date: Mon, 6 Oct 2003 13:30:48 -0700
On Monday, October 6, 2003, at 01:20 PM, AgentM wrote:
Am I missing something? How are other people doing this? Right now, it
looks least complicated to consolidate my categories into a monster
definition. Sorry for the long mail- I *really* don't want to give up
my categories....
You can inherit protocols from other protocols. For instance:
@protocol MyProtocol <NSObject, NSCoding, NSCopying>
@end
Means that MyProtocol has all the methods of the three other protocols,
and that's it.
Is that what you are aiming for?
Hope this helps,
- Greg
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.