Hi,
I am trying to design a custom NSCell that has two fields on top of each other. How do I do this
Thanks
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 NSCell
I like these examples http://www.stepwise.com/Articles/Technical/NSCell.html
There are lots of examples of custom cells available via a google search. http://www.google.com/search?hl=en&as_qdr=all&q=custom+NSCell&spell=1 This google link is less than useless Apples documentation: http://developer.apple.com/documentation/Cocoa/Conceptual/ControlCell/Tasks/SubclassingNSCell.html
Apple includes some custom cells in various examples already on your hard disk.
Apple provides samples: http://developer.apple.com/samplecode/Clock_Control/Clock_Control.html
There are lots of discussions of custom cells in http://www.cocoabuilder.com/archive/