Two simple questions regarding Cell
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