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

invalid formatter values


  • Subject: invalid formatter values
  • From: Mitchell Livingston <email@hidden>
  • Date: Tue, 13 Nov 2007 23:35:19 -0500

Hello,

I have a number formatter on a text field to reject values less than zero. I want to make it so that it will revert the value to the pervious value and not call the action function for invalid values. I have control:didFailToFormatString:errorDescription: return NO, but the action function is still called. Is there a way to not call it when the value is invalid, and is there a straight-forward way to set the field to the previous, valid value?

Thanks,
Mitchell Livingston
_______________________________________________

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: invalid formatter values
      • From: Mitchell Livingston <email@hidden>
    • Re: invalid formatter values
      • From: Keary Suska <email@hidden>
  • Prev by Date: Re: Memory limits under Garbage Collection, NSMutableData vs. malloc()
  • Next by Date: Heads Up: Code generation bug
  • Previous by thread: Re: Memory limits under Garbage Collection, NSMutableData vs. malloc()
  • Next by thread: Re: invalid formatter values
  • Index(es):
    • Date
    • Thread