• 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: Category Use
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Category Use


  • Subject: Re: Category Use
  • From: David Remahl <email@hidden>
  • Date: Fri, 25 Jan 2002 00:53:43 +0100

> I haven't really used Categories before. (I really should've, without
> them I've been forced to implement poor design.) Now that I've defined
> my category, do I need to import the category's header file or can I
> just use the standard class that it extends(NSMovie in this case)? If
> the answer is no, then how does the compiler/linker understand the
> category?

Import the category header. If you don't, then the compiler will output a
warning (method not found, or smtng like that), but it will build and run
anyway (and work).

/ david


References: 
 >Category Use (From: David Kopec <email@hidden>)

  • Prev by Date: Getting mouse events in an NSImageView
  • Next by Date: Re: Cocoa basic data types?
  • Previous by thread: Re: Category Use
  • Next by thread: Re: Category Use
  • Index(es):
    • Date
    • Thread