NSArrayController inside NSTreeController?

2009-11-04 Thread David Catmull
How would I use an NSArrayController to provide the content of one of the child items in an NSTreeController? This is for a NSOutlineView source view, and each group in the source view contains different kinds of items. In some cases, I want them to be Core Data items, so the easiest way to

Re: NSArrayController inside NSTreeController?

2009-11-04 Thread Matthew Lindfield Seager
On Thursday, November 5, 2009, David Catmull wrote: > This is for a NSOutlineView source view, and each group in the source view > contains different kinds of items. In some cases, I want them to be Core Data > items, so the easiest way to manage that is to use an array controller. > You may n

Re: NSArrayController inside NSTreeController?

2009-11-04 Thread David Catmull
On Nov 4, 2009, at 10:21 AM, Matthew Lindfield Seager > wrote: You may need to implement NSOutlineView's data source methods. I considered that, but I'm hoping to avoid having to re-implement all the stuff that already works in the normal table view/array controller case. -- David Catmull