• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Problem Binding to UserDefaults
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem Binding to UserDefaults


  • Subject: Re: Problem Binding to UserDefaults
  • From: "email@hidden" <email@hidden>
  • Date: Mon, 6 Dec 2010 10:40:26 +0000

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

References: 
 >Problem Binding to UserDefaults (From: Peter Zegelin <email@hidden>)
 >Re: Problem Binding to UserDefaults (From: Jerry Krinock <email@hidden>)
 >Re: Problem Binding to UserDefaults (From: Peter Zegelin <email@hidden>)
 >Re: Problem Binding to UserDefaults (From: Peter Zegelin <email@hidden>)

  • Prev by Date: Re: Obscuring an NSString
  • Next by Date: Need HTTP Server & JSON recommendations
  • Previous by thread: Re: Problem Binding to UserDefaults
  • Next by thread: Works in 4.1 but not 4.2 ...
  • Index(es):
    • Date
    • Thread