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

Re: NSNumber bound to NSTextField

2009-09-14 Thread Quincey Morris
do respond to intValue etc, but not to unsignedXxxValue methods. I am trying to understand the behavior of an NSNumber bound to an NSTextField. The underlying problem is that you can't get this understanding, because a user interface item isn't bound to an *object* but to a *property

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