Re: KVO oddity (or am I *really* idiot ?)

2010-06-09 Thread Joanna Carter
Hi Vincent > Thanks Kyle. As I said (privately) to Graham... No you didn't. I got that message with the list in the CC field. :-) Joanna -- Joanna Carter Carter Consulting ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post ad

Re: KVO oddity (or am I *really* idiot ?)

2010-06-09 Thread vincent habchi
Le 9 juin 2010 à 16:10, Kyle Sluder a écrit : > @"delegate.appController" is a keypath, not a key. Thanks Kyle. As I said (privately) to Graham, I am even better than a moron: an oxymoron. Cheers and forgive my stupidity. Enjoy WWDC! Vincent___ Cocoa

Re: KVO oddity (or am I *really* idiot ?)

2010-06-09 Thread vincent habchi
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] [ >> valueForUndefinedKey:]: this class is not key value coding-compliant for the >> key delegate.appController. >> >> [NSApp valueForKey:@"delegat

Re: KVO oddity (or am I *really* idiot ?)

2010-06-09 Thread Graham Cox
On 10/06/2010, at 12:05 AM, vincent habchi wrote: > 2010-06-09 15:52:57.526 PostSIG[5503:a0b] [ > valueForUndefinedKey:]: this class is not key value coding-compliant for the > key delegate.appController. > > [NSApp valueForKey:@"delegate"] works all right. > appController is a synthesized rea

Re: KVO oddity (or am I *really* idiot ?)

2010-06-09 Thread Kyle Sluder
On Jun 9, 2010, at 7:05 AM, vincent habchi wrote: > Hi there, > no latin this time, I swear! :) > > Well, please tell me I am a fool: when I execute those two lines: > >NSLog(@"%@", [[NSApp delegate] appController]); >NSLog(@"%@", [NSApp valueForKey:@"delegate.appController"]); @"deleg

KVO oddity (or am I *really* idiot ?)

2010-06-09 Thread vincent habchi
Hi there, no latin this time, I swear! :) Well, please tell me I am a fool: when I execute those two lines: NSLog(@"%@", [[NSApp delegate] appController]); NSLog(@"%@", [NSApp valueForKey:@"delegate.appController"]); I get this result: 2010-06-09 15:52:57.525 PostSIG[5503:a0b]