Re: NSTableCellView subclass layout from independent nib

2012-03-08 Thread Seth Willits
On Mar 6, 2012, at 6:03 PM, Seth Willits wrote: > Another possible solution is to use a class method on the cell view class > which does loading from a nib. That method would then have some > TableCellViewNibLoader class be File's Owner when loading the nib, and then > the view inside the nib c

NSTableCellView subclass layout from independent nib

2012-03-07 Thread Seth Willits
I have more than one table which will share a certain type of table cell. In cell-based table cells, I'd make an NSCell subclass, add whatever needed properties there are, and do all the drawing there. The layout of the cell is part of the subclass itself. In view-based tables, I'd create a NS