• 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: Cocoa bindings with NSUserDefaultsController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Cocoa bindings with NSUserDefaultsController (From: David Hoerl <email@hidden>)

  • Prev by Date: Best way to discover resource forks?
  • Next by Date: Re: (no subject)
  • Previous by thread: Cocoa bindings with NSUserDefaultsController
  • Next by thread: NSBox frame redraw issue
  • Index(es):
    • Date
    • Thread