• 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: Real-Time Validation in a NSTextField.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Real-Time Validation in a NSTextField.


  • Subject: Re: Real-Time Validation in a NSTextField.
  • From: James Walker <email@hidden>
  • Date: Fri, 19 Feb 2010 10:15:10 -0800

On 2/18/2010 2:18 PM, Abhinay Kartik Reddyreddy wrote:

I was wondering if  there is any alternative / better approach
for validating text in a textfield??

I've done this by writing a custom subclass of NSFormatter that overrides isPartialStringValid:newEditingString:errorDescription:.


--
  James W. Walker, Innoventive Software LLC
  <http://www.frameforge3d.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


  • Follow-Ups:
    • Re: Real-Time Validation in a NSTextField.
      • From: Abhinay Kartik Reddyreddy <email@hidden>
References: 
 >Real-Time Validation in a NSTextField. (From: Abhinay Kartik Reddyreddy <email@hidden>)

  • Prev by Date: Re: How to relayout content of NSTextView so that my tab characters are drawn with width of 4 characters
  • Next by Date: Re: NSTableColumn's 'fontSize' Binding: Just Doesn't Work?
  • Previous by thread: Real-Time Validation in a NSTextField.
  • Next by thread: Re: Real-Time Validation in a NSTextField.
  • Index(es):
    • Date
    • Thread