> Ah.. I'm not quite sure you got what I meant. In a (document-based) > app set up an NSArray *selectionIndexPaths ivar, so the > NSTreeController then binds its @"selectionIndexPaths" binding to the > keypath @"File's Owner.selectionIndexPaths" where file's owner is the > owner of the nib containing the tree controller and the outline view. > The outline view then has its content bound to the tree controller's > @"arrangedObjects" controller key, the selectionIndexPaths to the > @"selectionIndexPaths" controller key and then the outline view's > table column's @"value" binding is set to the tree controller's > @"arrangedObjects.nodeName" (nodeName is just an NSString > representation of a file path). > Ok, I understand. So I bind both the OutlineView and the TreeController to a third object that keeps them both in sync to the same SelectionIndexPath value. However, when I tried this my OutlineView was blank. I think the Outline Views's selectionIndexPaths binding refers to the selectionIndexPaths of its content provider(in this case the tree controller). I dont think and outline view has selectionIndexPaths properties of its own. _______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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]