• 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: add selectors to a class
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: add selectors to a class


  • Subject: Re: add selectors to a class
  • From: j o a r <email@hidden>
  • Date: Tue, 27 Sep 2005 16:04:10 +0200


On 27 sep 2005, at 15.46, Aaron Wallis wrote:

sorry for the major newbie question, but how do I subclass an object [ in this case NSNotification ] but structure it in a way that all objects in my application use my 'modified' object rather than the default?

And let me just add, that you can also "add selectors to a class" (see thread subject) by using Objective-C "categories". Check them out in the ObjC documentation - they are way cool!


Also note, that whenever you're trying to do tricks with Cocoa classes, you need to learn about the concept of "class clusters". Again, check the available docks on that topic.

j o a r



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >add selectors to a class (From: Aaron Wallis <email@hidden>)

  • Prev by Date: Re: add selectors to a class
  • Next by Date: Re: CFMessagePort to NSMessagePort in IM context?
  • Previous by thread: Re: add selectors to a class
  • Next by thread: Asynchronous binding to a remote image
  • Index(es):
    • Date
    • Thread