NSOutlineView and weird binding behaviour
NSOutlineView and weird binding behaviour
- Subject: NSOutlineView and weird binding behaviour
- From: Godfrey van der Linden <email@hidden>
- Date: Tue, 17 Jun 2008 20:02:15 +1000
This behaviour is really bending my mind. I thought I got bindings
but it is really fooling me.
I have 3 outline views controlled by a NSViewController. These
outline views are bound for values to individual tree controllers
arrangedObjects.shortName and each tree controller has its content set
bound to representedObject.object.relationshipset
Now when I import objects into the everything is displayed as
expected. However if I open a document that is already populated
nothing is displayed? To debug this process I have checked the counts
on the tree controllers arrangedObject, i.e. [[cont arrangedObjects]
count] != 0. Yet the NSOutlineView does not display anything unless
it is created after the controllers initialise.
I'm stuck, any thoughts?
Thanks
Godfrey
_______________________________________________
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