• 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
How to make a token field that only accepts numbers: NSTokenField with NSNumberFormatter?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to make a token field that only accepts numbers: NSTokenField with NSNumberFormatter?


  • Subject: How to make a token field that only accepts numbers: NSTokenField with NSNumberFormatter?
  • From: Leo Singer <email@hidden>
  • Date: Thu, 19 Feb 2009 13:20:02 -0500

Hi,

I want to create an NSTokenField that only accepts tokens that are
numbers.  In fact, I only want integers between 0 and, say, 170
inclusive.  I tried dropping an NSNumberFormatter onto my
NSTokenField, but it had no perceivable effect.  Help!

Leo
_______________________________________________

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

  • Prev by Date: Bumpy NSViewAnimation
  • Next by Date: Re: Running out of memory on stack in C++ routine invoked within Cocoa NSOperation
  • Previous by thread: Bumpy NSViewAnimation
  • Next by thread: what to do with MAC address...
  • Index(es):
    • Date
    • Thread