Re: Cocoa bindings with NSUserDefaultsController
Re: Cocoa bindings with NSUserDefaultsController
- Subject: Re: Cocoa bindings with NSUserDefaultsController
- From: Keary Suska <email@hidden>
- Date: Tue, 11 Jul 2006 11:52:45 -0600
- Thread-topic: Cocoa bindings with NSUserDefaultsController
on 7/11/06 11:11 AM, email@hidden purportedly said:
> [theDefaultsController setValue:newUserName forKey:@"values.userName"];
>
>
> Trying the above, it fails with an error:
>
> [<NSUserDefaultsController 0x3e6800> setValue:forUndefinedKey:]: this
> class is not key value coding-compliant for the key values.userName
Bindings are more likely calling:
[theDefaultsController setValue:newUserName forKeyPath:@"values.userName"];
Which is a different animal, and likely why you are seeing the error.
Best,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden