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

Re: NSUserDefaultsController valueForUndefinedKey:


  • Subject: Re: NSUserDefaultsController valueForUndefinedKey:
  • From: Keary Suska <email@hidden>
  • Date: Sat, 20 Mar 2010 09:45:06 -0600

On Mar 19, 2010, at 10:04 PM, Richard Somers wrote:

> 2010-03-19 01:46:49.860 MyApp[4249:10b] Error setting value for key path values.ABRadius of object <NSUserDefaultsController: 0x169c00>[applies immediately: YES] (from bound object <NSSlider: 0x6707de0> with object ID 59 in Nib named ABPreferencePanel.nib): [<NSCFType 0x168ec0> valueForUndefinedKey:]: this class is not key value coding-compliant for the key radius.

IIRC, this is one of bindings' worst and most unhelpful error messages--it even misleads you. I suspect that the ABRadius value is a C primitive, and you might not have nilValueForKey: implemented, and ABRadius may be returning a nil value.

> 2010-03-19 16:55:16.415 MyApp[5710:10b] Error setting value for key path values.ABRadius of object <NSUserDefaultsController: 0x1696e0>[applies immediately: YES] (from bound object <NSSlider: 0x622f790> with object ID 59 in Nib named ABPreferencePanel.nib): [<NSKeyValueSlowSetter 0x168970> valueForUndefinedKey:]: this class is not key value coding-compliant for the key radius.
>
> Nowhere in the preference panel or in any class used in panel nib do I use the key "radius". The slider uses the key "ABRadius".

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"

_______________________________________________

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: 
 >NSUserDefaultsController valueForUndefinedKey: (From: Richard Somers <email@hidden>)

  • Prev by Date: Re: CoreData database sharing and migration
  • Next by Date: Re: NSUserDefaultsController valueForUndefinedKey:
  • Previous by thread: NSUserDefaultsController valueForUndefinedKey:
  • Next by thread: Re: NSUserDefaultsController valueForUndefinedKey:
  • Index(es):
    • Date
    • Thread