I've got a Core Data model with a Group entity and Part entity. Each Part 
belongs to a Group, and Groups can belong to Groups. The NSTreeController and 
NSOutlineView work fine to display the Group hierarchy, but I can't seem to get 
the NSArrayController to bind to the tree controller's selection (there's an 
NSCollectionView backed by the NSArrayController).

If I don't try to bind the NSArrayController, but just have it get all Parts in 
the context, it works fine (that is, the NSCollectionView shows entries for the 
parts in the MOC).

Does anyone know how to properly bind the NSArrayController's content to the 
selected Groups' parts (the relationship on Group is called "parts", and 
returns an NSSet*).

Thanks!

-- 
Rick

_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to