Edit AllPages


I am trying to design a custom NSCell that has two fields on top of each other. How do I do this


Your best bet is to use an NSMatrix and go from there. –zootbobbalu

If you mean two subclasses of NSCell (such as NSTextFieldCell or NSButtonCell), try setting your custom class to retain two NSCells as instance variables, then make sure you draw them both each time a draw function is called. – JediKnil

I like these examples

There are lots of examples of custom cells available via a google search. This google link is less than useless Apples documentation:

Apple includes some custom cells in various examples already on your hard disk.

Apple provides samples:

There are lots of discussions of custom cells in