Re: Re: How do I give a set of methods to some objects but not others?
Re: Re: How do I give a set of methods to some objects but not others?
- Subject: Re: Re: How do I give a set of methods to some objects but not others?
- From: "Alan Smith" <email@hidden>
- Date: Fri, 24 Nov 2006 14:59:29 -0500
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.
Delegate:
If you mean something like this:
- (void)setObject:(id)object forKey:(id)key
{
[delegateObject setObject: object forKey: key];
}
Then that would be implemented over and over again.
Unless someone knows of a solution I'll make the methods over and over
but I'll try to vary the names enough that they look specific.
Cheers, Alan
--
// Quotes from yours truly -------------------------
"You don't forget, you just don't remember."
"Maturity resides in the mind."
"Silence is the Universe's greatest gift."
"When the World realizes that religion really is unnecessary, then it
shall evolve."
_______________________________________________
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