Re: The joys of people using valueForKey to get objects out of a dictionary.
Re: The joys of people using valueForKey to get objects out of a dictionary.
- Subject: Re: The joys of people using valueForKey to get objects out of a dictionary.
- From: Alex Zavatone <email@hidden>
- Date: Tue, 10 Nov 2015 16:32:38 -0500
- X_v_e_cd: 89b0c2fb84bf6eaa9cf41f2540646145
- X_v_r_cd: ed09c38783cc68d33bea780748a73237
And you guys have no idea how useful this discussion was to me today.
Even though the KVO valueForKey: method doesn't crater with an NSUnknownException with ease, it turns out that this wonderful code is also using the KVO method of setValue: forKey: on a dictionary.
And guess what?
*** Terminating app due to uncaught exception 'NSUnknosnKeyException', reason, [<__NSDictionaryI.... setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key username.'
*** First throw call stack:
THANK YOU.
_______________________________________________
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