Re: totally confused by bindings
Re: totally confused by bindings
- Subject: Re: totally confused by bindings
- From: Charles Steinman <email@hidden>
- Date: Thu, 5 Jun 2008 12:41:14 -0700 (PDT)
--- Daniel Child <email@hidden> wrote:
> 2008-06-05 14:06:20.015 Table Practice[670:10b] An
> uncaught exception
> was raised
> 2008-06-05 14:06:20.016 Table Practice[670:10b]
> [<AppController
> 0x13aca0> valueForUndefinedKey:]: this class is not
> key value coding-
> compliant for the key wordList.
> 2008-06-05 14:06:20.016 Table Practice[670:10b] ***
> Terminating app
> due to uncaught exception 'NSUnknownKeyException',
> reason:
> '[<AppController 0x13aca0> valueForUndefinedKey:]:
> this class is not
> key value coding-compliant for the key wordList.'
>
> I recognize here that this error was generated in
> reference to
> AppController, not WordList, but it seems crazy to
> me that I would
> have to place KVC-compliant code in a controller.
Why is that crazy? If you're going to be binding to
something (and it sounds like you're bound to an
AppController instance), it needs to be KVC-compliant
for that property.
Cheers,
Chuck
_______________________________________________
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