NSArrayController inside NSTreeController?
NSArrayController inside NSTreeController?
- Subject: NSArrayController inside NSTreeController?
- From: David Catmull <email@hidden>
- Date: Wed, 4 Nov 2009 08:23:20 -0800
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 manage that is to use an
array controller.
I tried returning the array controller's arrangedObjects as the
children of a group object, but when items are added they don't appear
in the source view. I'm not sure where to go from there.
--
David Catmull
email@hidden
http://www.uncommonplace.com/
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden