NSControl and multiple NSCells
NSControl and multiple NSCells
- Subject: NSControl and multiple NSCells
- From: Don Willems <email@hidden>
- Date: Tue, 25 Jan 2005 02:52:58 +0100
Hi,
I have a design question on using custom NSCells and NSControls. I've
been through the ClockCell example, and I understand it I think, What
I'm not clear about is how I should implement a custom control with
multiple cells.
1 - Should I create multiple instances of my custom NSCell class for
each item I want present? If I use only one cell than it is created
automatically in NSControl. But than how can I add more cells (and
change their position in the control?
2 - Or should I reuse the cell instance for each item? But than again,
how can I reset the position of the cell.
This is new territory for me and I would like to know what the best (or
common) way is to implement multiple cells.
Thank you,
Don
_______________________________________________
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