• 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
Configuring NSNumberFormatter non-programmatically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Configuring NSNumberFormatter non-programmatically


  • Subject: Configuring NSNumberFormatter non-programmatically
  • From: "Avery Nickelby" <email@hidden>
  • Date: Mon, 22 Dec 2008 10:11:09 -0600

I've looked through the archives and the documentation; most of the
information is related to using NSNumberFormatter programatically. I am
looking for a good explanation for using 10.4 style data formatters in
Interface Builder; when I configure a number data formatter I can only get
one of two behaviors (I've tried different permutations of the switches in
IB):
1) User MUST type in a currency symbol before the field accepts input. The
information is displayed as $123.45.
2) The user doesn't type in a currency symbol. The information is just
displayed in decimal format (123.45)

I want: The user types in a number. The formatter looks up the appropriate
currency symbol tied to the user-defined default locale and displays a
locale-specific format.

How do I get this behavior? Do I need to revert to the old style (which I
can get to work)?

Thanks

Avery
_______________________________________________

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: Configuring NSNumberFormatter non-programmatically
      • From: Nathan Kinsinger <email@hidden>
  • Prev by Date: Re: Thread crashing problem
  • Next by Date: Re: NSMutableArray sorting
  • Previous by thread: Re: C++ instance variables not destructed if NSZombieEnabled
  • Next by thread: Re: Configuring NSNumberFormatter non-programmatically
  • Index(es):
    • Date
    • Thread