Re: setNilValueForKey: not called when Number Formatter is nil

2008-08-17 Thread Marc Blatt
THX Keary, but I'm thinking that this is either a bug or not the proper way to approach the 'nil' issue when dealing with an app that is 10.4+. The reason I say this is that, when I switch the formatter in IB from Mac OS X 10.4+ to Mac OS X 10.0+ in the Number Formatter Attributes, setNilVa

Re: setNilValueForKey: not called when Number Formatter is nil

2008-08-17 Thread Keary Suska
8/17/08 2:42 AM, also sprach [EMAIL PROTECTED]: > The table view text cell updates properly so long as an empty value > (aka 'nil') is not attempted (which results in a format error even > though setNilValueForKey: has been overridden). The NSLog statement > within setNilValueForKey: some unknown

setNilValueForKey: not called when Number Formatter is nil

2008-08-17 Thread Marc Blatt
OK, so I have an table view text cell that has a number formatter attached in Interface Builder. In order to protect against throwing an exception, I've overridden setNilValueForKey: as follows: - (void)setNilValueForKey:(NSString *)key { NSLog(@"setNilValueForKey: has been successfully c