Custom sheet for NSFormatter errors
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