Re: KVO oddity (or am I *really* idiot ?)
Re: KVO oddity (or am I *really* idiot ?)
- Subject: Re: KVO oddity (or am I *really* idiot ?)
- From: vincent habchi <email@hidden>
- Date: Wed, 9 Jun 2010 16:15:22 +0200
Le 9 juin 2010 à 16:10, Graham Cox a écrit :
>
> On 10/06/2010, at 12:05 AM, vincent habchi wrote:
>
>> 2010-06-09 15:52:57.526 PostSIG[5503:a0b] [<NSApplication 0x1003264d0> valueForUndefinedKey:]: this class is not key value coding-compliant for the key delegate.appController.
>>
>> [NSApp valueForKey:@"delegate"] works all right.
>> appController is a synthesized readonly property of the delegate.
>>
>> What did I miss?
>
>
> delegate.appController is not a key, it's a key PATH. Use it with -valueForKeyPath:
Thanks to both. You see, I am *really* a moron (and sometimes even an oxymoron, which is worse! :))._______________________________________________
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