Re: How do I give a set of methods to some objects but not others?
Re: How do I give a set of methods to some objects but not others?
- Subject: Re: How do I give a set of methods to some objects but not others?
- From: leenoori <email@hidden>
- Date: Sat, 25 Nov 2006 16:20:23 +0100
El 24/11/2006, a las 20:59, Alan Smith escribió:
Protocols:
They would work except I would then have to implement it over and over
again and each implementation would be the same. I want to find a way
to only implement the methods once and then use that one
implmentations.
Another possible solution, use macros:
#define MY_METHOD - (void)doSomething { blah, blah, blah; }
Not saying you should do this, but it is an option.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden