• 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
Two simple questions regarding Cell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Two simple questions regarding Cell


  • Subject: Two simple questions regarding Cell
  • From: Eric <email@hidden>
  • Date: Mon, 8 May 2006 22:37:46 -0700

Hi all,

I have two simple questions regarding subclassing NSCell, hope you guys
could help.

1. If I'm not going to use NSControl's drawing and event handling methods
(which are pre-wired to invoke its Cell), but instead implement my own,
should I subclass NSView instead of NSControl for a (slightly) smaller
footprint?

2. Although the documentation says NSActionCell should be subclassed instead
of NSCell if the cell will have a target and action.  However, I don't see
any reason to do that since NSCell has target and action methods as well.
Could someone explain to me what I'm missing?

Thanks,
Eric
_______________________________________________
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


  • Prev by Date: Re: Cocoa software design issue
  • Next by Date: Re: Cocoa & Java on Intel fails with "Java for ppc cannot run in this configuration"
  • Previous by thread: Re: ArrayController, CoreData & Bindings
  • Next by thread: Is Global Memory accessible in FRAMEWORKS ?
  • Index(es):
    • Date
    • Thread