• 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
NSControl and multiple NSCells
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: converting c to compatable structure
  • Next by Date: Re: Couple of questions about the "SEL" datatype
  • Previous by thread: converting c to compatable structure
  • Next by thread: Parsing NSString
  • Index(es):
    • Date
    • Thread