Re: NumberFormatter Defaulting all values when input incorrect
Re: NumberFormatter Defaulting all values when input incorrect
- Subject: Re: NumberFormatter Defaulting all values when input incorrect
- From: Quincey Morris <email@hidden>
- Date: Mon, 12 Jan 2009 14:27:44 -0800
On Jan 12, 2009, at 13:52, Walker Argendeli wrote:
I'm new to Cocoa and am working through Hillegass's 3rd edition book
(Chapter 8). My problem is, I believe, linked to the number
formatter. To summarize the application, you have a tableView with
names for employees and raises. The raise column has a number
formatter for percentage (raise is default 5.0%). If I have
multiple employees in the tableView, and enter a number without a
percentage or some other character that is not accepted, the problem
occurs. It tells me there's a formatting error and tells me I can
either accept that or discard changes. Regardless of which choice I
make, all the other employees' raises are set to 500%.
It's a known bug in the formatter. See here:
http://www.cocoabuilder.com/archive/message/cocoa/2008/7/20/213546
(particularly the last post from Apple's Chris Kane).
_______________________________________________
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