• 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: "Tricks" of the "Trade"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Tricks" of the "Trade"


  • Subject: Re: "Tricks" of the "Trade"
  • From: Rob Rix <email@hidden>
  • Date: Thu, 7 Jun 2001 04:51:27 -0400

BTW Inline functions are truly cool, because they are like #defines, except much more powerful. I guess I just hate scrolling through one source code file that is miles long, I guess I could use categories, but then again, then the main class cannot access the methods in the categories.

It won't respond to [self someMethod] if someMethod is defined in a category that you designed it with?
That kind of surprises me, I think...

While we're on the subject of categories, if I implemented a category on NSObject, would the methods I added be inherited by all subclasses of NSObject?
Also, can you make a category on a protocol (such as the NSObject protocol?
)? I doubt this one would be valid, but I am curious nonetheless.

Thanks,

-- Rob

TINRA - There Is No Right Answer


References: 
 >Re: "Tricks" of the "Trade" (From: Erik Thorteran <email@hidden>)

  • Prev by Date: Re: "Tricks" of the "Trade"
  • Next by Date: Re: "Tricks" of the "Trade"
  • Previous by thread: Re: "Tricks" of the "Trade"
  • Next by thread: Re: "Tricks" of the "Trade"
  • Index(es):
    • Date
    • Thread