I'd appreciate any insight/advise/code for the following task. I'm creating an NSTableView with two columns: one to hold an NSString, the other I'd like to hold an NSPopUpButton (a popup menu) which is to be pre-populated and will be the same for every row in the table.
However, I'm unclear as how to proceed. Do I create a new NSPopUpButtenCell, populate it and then call [aTableColumn setDataCell] with the newly created NSPopUpButtonCell? Or do I just return a new NSPopUpButton in my appropriate NSTableDataSource methods?
In an NSBrowser you can set a prototype cell, so I was hoping for similar functionality in NSTableView -- it may be there but I'm just missing it!
Any help would be greatly appreciated!