• 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: Peter Zegelin <email@hidden>
  • Date: Sun, 5 Dec 2010 23:36:15 +1100

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.


On 05/12/2010, at 12:01 PM, Peter Zegelin wrote:

> That doesn't appear to be the problem as adding and deleting items are saved. It's only when I change a value that the result isn't saved back to the defaults.
>
> I have created a really simple project here:
>
> http://fracturedsoftware.com/downloads/developer/UserDefaultsBindingTest.zip
>
> If someone could take a quick look I'd be really grateful.
>
> On 03/12/2010, at 2:19 AM, Jerry Krinock wrote:
>
>>
>> On 2010 Dec 01, at 21:10, Peter Zegelin wrote:
>>
>>> However, if I change the displayType of the selected row via the control, then the results are *not* saved. The new value is correct while the app is running but never saved.
>>
>> Make sure that, when testing this, you are quitting your app normally and not killing it, for example, by hitting the red "stop" button in Xcode._______________________________________________
>>



Peter_______________________________________________

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>)

  • Prev by Date: Re: Problem Binding to UserDefaults
  • Next by Date: NSView/NSTableView question
  • Previous by thread: Re: Problem Binding to UserDefaults
  • Next by thread: Re: Problem Binding to UserDefaults
  • Index(es):
    • Date
    • Thread