• 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: Limiting NSTextField to numbers?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Limiting NSTextField to numbers?


  • Subject: Re: Limiting NSTextField to numbers?
  • From: Nick Zitzmann <email@hidden>
  • Date: Wed, 21 Jan 2009 13:55:33 -0700


On Jan 21, 2009, at 3:48 PM, Brooke Gravitt wrote:

This was what I was thinking I might do.

Glen is correct, though; I was wrong about there being a formatter property on UITextField. You can still do this, but you'll have to apply the formatter manually using the UITextFieldTextDidChangeNotification.


What's a good strategy for forcing the text field to always have the
last two digits as  cents?


Use a currency number formatter?

Nick Zitzmann
<http://www.chronosnet.com/>



_______________________________________________

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


References: 
 >Limiting NSTextField to numbers? (From: Brooke Gravitt <email@hidden>)
 >Re: Limiting NSTextField to numbers? (From: "I. Savant" <email@hidden>)
 >Re: Limiting NSTextField to numbers? (From: Brooke Gravitt <email@hidden>)
 >Re: Limiting NSTextField to numbers? (From: Andy Lee <email@hidden>)
 >Re: Limiting NSTextField to numbers? (From: Brooke Gravitt <email@hidden>)
 >Re: Limiting NSTextField to numbers? (From: Nick Zitzmann <email@hidden>)
 >Re: Limiting NSTextField to numbers? (From: Brooke Gravitt <email@hidden>)

  • Prev by Date: [WORKAROUND] Re: Cursor updates - bug or programmer ignorance?
  • Next by Date: Re: Limiting NSTextField to numbers?
  • Previous by thread: Re: Limiting NSTextField to numbers?
  • Next by thread: Re: Limiting NSTextField to numbers?
  • Index(es):
    • Date
    • Thread