Problem with NSNumberFormater setted in IB
Problem with NSNumberFormater setted in IB
- Subject: Problem with NSNumberFormater setted in IB
- From: Gustavo Pizano <email@hidden>
- Date: Thu, 26 Nov 2009 10:27:18 +0100
Hello all.
I have a NSTable which contents are bound to a NSArrayController. In the table I set up a NSNumberFormatter for currency in one of the columns. When I click the add button I can edit the row of the table, but when I arrive to the column that has the formatter, I see a ( € 0.00) which is the default value for that attribute, when I select it and edit it, if I don't type the € symbol at the beginning of the value and without any space between the symbol and the first digit then I get this alert:
The value " " is invalid :
Please provide a valid value.
so its kinda annoying to type the value with the currency symbol, or even worst with the mouse select only the digits to be edited.
I dunno if I didn't configure properly the Formatter in IB. Any ideas?
Thanks
Gustavo
_______________________________________________
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