Hi, Thanks Corbin for the reply. For some reason I completely forgot that NSOutlineView was a subclass of NSTableView. Yes, of course that is the best (and should have been obvious!) solution.
Cheers, Demitri --- On May 30, 2012, at 2:57 PM, Corbin Dunn wrote: > On May 30, 2012, at 11:37 AM, Demitri Muna <[email protected]> > wrote: > >> Just because I hate orphaned questions (as no one answered), I thought I'd >> answer my own question. >> >> Most examples that use Core Data/bindings/array controllers use a table view >> as the source view, but I wanted something more flexible with my own custom >> view that involved a little animation. Although NSTableCellView makes this a >> little easier, it still felt shoehorned into a table view. > > Really? Why? It fits quite perfectly with the view based tableview. > >> I think the best answer is the realization that I don't need a table view at >> all to use the machinery above, > > I think the best solution is to use a view based NSOutlineView with variable > row heights and custom background drawing on the NSTableRowView. > > FWIW, Xcode uses NSOutlineView (non-view based at the current time). _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
