NSTreeController content array bindings
NSTreeController content array bindings
- Subject: NSTreeController content array bindings
- From: "Mazen M. Abdel-Rahman" <email@hidden>
- Date: Sun, 22 Nov 2009 20:20:49 -0700
Hi All,
I am having trouble binding an NSTreeController's content array to an NSMutableArray through interface builder.
In the bindings inspector of Interface Builder I bind to file's owner - which in my case is a subclass of NSWindowController, and set the model key path the the name of the NSMutableArray I want to bind to. This does not seem to be working.
However, if in my code I call the setContent method of NSTreeController passing in the array then it works. So I know I can do it programmatically - but I was wondering why it's not working when I try it through interface builder.
Thanks,
Mazen Abdel-Rahman
_______________________________________________
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