• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Problem with NSNumberFormater setted in IB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Problem with NSNumberFormater setted in IB
      • From: Matthew Lindfield Seager <email@hidden>
  • Prev by Date: Re: changing dock label name of my app
  • Next by Date: Re: Problem with NSNumberFormater setted in IB
  • Previous by thread: Re: changing dock label name of my app
  • Next by thread: Re: Problem with NSNumberFormater setted in IB
  • Index(es):
    • Date
    • Thread