• 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
NSNumberFormatter 10.0+ vs. 10.4+
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSNumberFormatter 10.0+ vs. 10.4+


  • Subject: NSNumberFormatter 10.0+ vs. 10.4+
  • From: Jamie Phelps <email@hidden>
  • Date: Sat, 26 Jan 2008 16:14:48 -0600

I'm working through Hillegass's Cocoa Programming for Mac OS X and ran into a problem with NSNumberFormatter that clearly can't be covered in the text and I haven't been able to find any helpful information from Google.

There is an NSTableView object in MyDocument.nib, and one column has an NSNumberFormatter applied set to display percentages. If I set the version to 10.0+ and enter a value without % into the cell, the app happily adds a % to make the entered value conform to the expected format. If I change the version to 10.4+ and enter a value without %, I get a sheet that says the value does not conform to the expected format.

So, I have two questions:

1) What is the difference between 10.0+ and 10.4+? Since I'm just starting out, I don't intend to support anything earlier than Leopard.

2) Is there a graceful way to handle these errors?

Thanks,
Jamie
_______________________________________________

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: NSNumberFormatter 10.0+ vs. 10.4+
      • From: "Kyle Sluder" <email@hidden>
  • Prev by Date: [Leopard] Spotlight/Help-like menu item
  • Next by Date: Re: NSViews resizeSubviewsWithOldSize is not called on resize
  • Previous by thread: Re: [Leopard] Spotlight/Help-like menu item
  • Next by thread: Re: NSNumberFormatter 10.0+ vs. 10.4+
  • Index(es):
    • Date
    • Thread