Re: Instantiating NSCells in Interface Builder
Re: Instantiating NSCells in Interface Builder
- Subject: Re: Instantiating NSCells in Interface Builder
- From: Pete Yandell <email@hidden>
- Date: Thu, 5 Jun 2003 09:15:39 +1000
On Thursday, June 5, 2003, at 08:35 AM, Chris Hanson wrote:
On Wednesday, June 4, 2003, at 10:16 AM, Daniel Zitter wrote:
Since cells aren't particularly useful without their associated
controls, directly instantiating a cell isn't the way to go in
Interface Builder. (This must be documented somewhere, but I cannot
find it at the moment.)
Cells can be quite useful without associated controls. For instance,
it would be very useful and clean to be able to instantiate a cell in
Interface Builder, set its properties, and then set it as the data
cell for an NSTableColumn or NSBrowser. This would remove the need to
instantiate the cell in code in the controller's -awakeFromNib and set
it up by hand there.
Yep, that's exactly what I was trying to do: set an NSButtonCell as the
cell for an NSTableColumn.
Pete Yandell
http://pete.yandell.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.