Re: Problem Binding to UserDefaults
Re: Problem Binding to UserDefaults
On 5 Dec 2010, at 12:36, Peter Zegelin wrote:
> Found the problem!
>
> I hadn't checked the 'Handles Content as Compound Value' checkbox in the Array Controller Bindings. Switching this on and all now works.
>
>
The binding option being enabled here is NSHandlesContentAsCompoundValueBindingOption.
The documents at http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/CocoaBindings/Concepts/MessageFlow.html#//apple_ref/doc/uid/TP40002149
(points 15 - 22) documents the message flow.
The question is why is this necessary?
The NSArrayController in OP has no controller level transformer defined.
Regards
Jonathan Mitchell
Developer
Mugginsoft LLP
http://www.mugginsoft.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