Re: Special requirements for the window param of NSAlert beginSheetModalForWindow?
Re: Special requirements for the window param of NSAlert beginSheetModalForWindow?
- Subject: Re: Special requirements for the window param of NSAlert beginSheetModalForWindow?
- From: "Sean McBride" <email@hidden>
- Date: Thu, 14 May 2009 12:23:40 -0400
- Organization: Rogue Research Inc.
On 5/14/09 8:12 AM, Keary Suska said:
>> Your advice is good, to be sure, but you are incorrect about the
>> above.
>
>> In fact, the 'do you want to replace?' question is displayed in a
>> sheet
>
>> that appears on top of the save panel sheet.
>
>
>Yes, but the docs are clear that stacked or nested sheets are not
>supported, and violate HIG. It also doesn't work well if you try to
>force it.
In general I agree that stacked or nested sheets are not good. But like
everything in life, there are exceptions. I think the "do you want to
replace?" case is one such exception. Closing the save panel would be
annoying, because if you decide against replacing you then need to show
the save panel again. App-wide modality is a worse evil. So in this
case it's the least bad choice, IMHO.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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