Re: NSNumber bound to NSTextField

2009-09-14 Thread Quincey Morris
Sorry, today appears to Trip Over Your Own Tongue day for some of us. Slight corrections: On Sep 14, 2009, at 17:59, Quincey Morris wrote: [NSNumber alloc] always returns a subclass. It's actually an implementation detail what [NSNumber alloc] returns. It might be some kind of placeholder

Re: NSNumber bound to NSTextField

2009-09-14 Thread Quincey Morris
On Sep 14, 2009, at 17:17, Todd Heberlein wrote: (1) Why does [myNum isMemberOfClass:[NSNumber class]] return NO when I explicitly did an [NSNumber alloc]? (2) [myNum isKindOfClass:[NSNumber class]] returns YES, so what type of subclasses are there to NSNumber? (3) After changing the v

NSNumber bound to NSTextField

2009-09-14 Thread Todd Heberlein
I am trying to understand the behavior of an NSNumber bound to an NSTextField. It seems that an NSNumber isn't always and NSNumber. -- SET UP I have a class with an NSNumber* bound to an NSTextField via an Object Controller NSNumber* <---> NSObjectController <-