Implementing control with multiple cells
Implementing control with multiple cells
- Subject: Implementing control with multiple cells
- From: "Eric Lin" <email@hidden>
- Date: Sun, 7 May 2006 16:17:42 -0700
I'm trying to create a NSControl subclass contains multiple cells
(NSActionCell subclass). But my question is, it seems NSControl can only
work with one cell out of the box. Does it mean I'll need to override
methods like drawRect (to call drawInFrame:) and mouseDown (to call
trackMouse:) to support multiple cells? And also instantiate the cells
myself as opposed to overriding +cellClass.
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