Re: Display an Alert Sheet at a Specified Screen Position
Re: Display an Alert Sheet at a Specified Screen Position
- Subject: Re: Display an Alert Sheet at a Specified Screen Position
- From: Quincey Morris <email@hidden>
- Date: Fri, 27 Mar 2015 00:27:22 +0000
On Mar 26, 2015, at 17:10 , Graham Cox <email@hidden> wrote:
>
> One situation I think would be a suitable candidate for a custom-positioned alert (or popover) is when a text field fails validation. At the moment, there's little support for handling this gracefully - I think the default response is to beep and refuse losing first responder status. It's pretty poor, in that it doesn't give the user any clue as to what they've done wrong, and beeping is such a passive-aggressive means of signalling a problem - "You're a moron, but try and guess why, ha-ha!”.
IIRC the HIG suggests you leave space in your window layout so that you can display an icon and a brief error message in the window itself. OTOH beep-and-refuse is a venerable tradition, and what customer has ever resented being treated like a moron?
http://www.cartoonbuddyblog.com/2010/05/hit-any-key-to-continue-english-cartoon.html <http://www.cartoonbuddyblog.com/2010/05/hit-any-key-to-continue-english-cartoon.html>
> A nicely positioned alert with a popover-style triangle that indicates the field in question with some explanation of the problem would be a lot better.
Yup.
_______________________________________________
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