Re: Problem Binding to UserDefaults
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