• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Re: How do I give a set of methods to some objects but not others?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: How do I give a set of methods to some objects but not others?
      • From: leenoori <email@hidden>
    • Re: How do I give a set of methods to some objects but not others?
      • From: Philip Mötteli <email@hidden>
    • Re: How do I give a set of methods to some objects but not others?
      • From: Dustin Voss <email@hidden>
References: 
 >How do I give a set of methods to some objects but not others? (From: "Alan Smith" <email@hidden>)
 >Re: How do I give a set of methods to some objects but not others? (From: Daniel Jalkut <email@hidden>)

  • Prev by Date: Re: How do I give a set of methods to some objects but not others?
  • Next by Date: Re: "undo:" action vs. NSWindow
  • Previous by thread: Re: How do I give a set of methods to some objects but not others?
  • Next by thread: Re: How do I give a set of methods to some objects but not others?
  • Index(es):
    • Date
    • Thread