• 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
Custom sheet for NSFormatter errors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Custom sheet for NSFormatter errors


  • Subject: Custom sheet for NSFormatter errors
  • From: "Michael Varlik" <email@hidden>
  • Date: Sat, 02 Feb 2008 20:13:21 +0100

Hi,

when my NSFormatter subclass fails to validate a value the
-getObjectValue:forString:errorDescription: error method returns NO and a sheet is automatically presented which asks to ether discard the input or accept it.
How can I replace this sheet with a custom sheet or automatically perform the "discard" action without displaying a sheet at all?

Any suggestions?

Best regards,
Michael
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
_______________________________________________

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: Custom sheet for NSFormatter errors
      • From: "Kyle Sluder" <email@hidden>
  • Prev by Date: programmatically instantiating bound view/controller
  • Next by Date: Re: programmatically instantiating bound view/controller
  • Previous by thread: Re: programmatically instantiating bound view/controller
  • Next by thread: Re: Custom sheet for NSFormatter errors
  • Index(es):
    • Date
    • Thread