• 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
Re: Problem with NSNumberFormatterCurrencyStyle on table cell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with NSNumberFormatterCurrencyStyle on table cell


  • Subject: Re: Problem with NSNumberFormatterCurrencyStyle on table cell
  • From: mmalcolm crawford <email@hidden>
  • Date: Tue, 4 Apr 2006 23:20:22 -0700


On Apr 4, 2006, at 10:48 PM, Tony S. Wu wrote:

the table column is set with a NSNumberFormatter with its number style set as NSNumberFormatterCurrencyStyle.
[...]
[numberFormatter setFormatterBehavior: NSNumberFormatterBehavior10_4];
[numberFormatter setNumberStyle: NSNumberFormatterCurrencyStyle];

Did you set the formatter in Interface Builder?

"Important: The pre-Mac OS X v10.4 methods of NSNumberFormatter are not compatible with the methods added for that release. An NSNumberFormatter object should not invoke methods in these different behavior groups indiscriminately. Use the old-style methods if you have configured the number-formatter behavior to be NSNumberFormatterBehavior10_0. Use the new methods instead of the older-style ones if you have configured the number-formatter behavior to be NSNumberFormatterBehavior10_4."
<http://developer.apple.com/documentation/Cocoa/Reference/Foundation/ ObjC_classic/Classes/NSNumberFormatter.html>


See also <http://developer.apple.com/documentation/Cocoa/Conceptual/ DataFormatting/Articles/dfNumberFormatting10_4.html>.

mmalc

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Problem with NSNumberFormatterCurrencyStyle on table cell (From: "Tony S. Wu" <email@hidden>)

  • Prev by Date: Re: Problem with NSNumberFormatterCurrencyStyle on table cell
  • Next by Date: How to tell linker to bind init at runtime
  • Previous by thread: Re: Problem with NSNumberFormatterCurrencyStyle on table cell
  • Next by thread: How to tell linker to bind init at runtime
  • Index(es):
    • Date
    • Thread