• 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 question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSNumberFormatter question


  • Subject: NSNumberFormatter question
  • From: "Peter Karlsson" <email@hidden>
  • Date: Mon, 8 Nov 2004 11:01:34 +0100

Dear list!

I want my NSNumberFormatter to accept values between 0 and 31. There is no
problem with that. But I can type many '0' (zero) in the field. So my
question is: Is it possible to set the formatter so if I type a '0' I can
not type another '0' in the field? The idea is that a 0 is always a 0 even
if it's 0000000 long :)

Example:
I can type: 00000000 -> forever...
I want formatter to stop after typing: 0

Best regards Peter

 _______________________________________________
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

  • Prev by Date: Re: $10 for a few minutes work
  • Next by Date: Re: $10 for a few minutes work
  • Previous by thread: Re: $10 for a few minutes work
  • Next by thread: Loadable bundles and common files
  • Index(es):
    • Date
    • Thread