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: Michael Ash <email@hidden>
- Date: Thu, 14 May 2009 09:03:36 -0400
On Thu, May 14, 2009 at 12:27 AM, Sean McBride <email@hidden> wrote:
> Michael Ash (email@hidden) on 2009-05-13 11:07 PM said:
>
>>2) Display the second window as a modal panel instead of a sheet.
>>Apple does this with NSSavePanel if you try to save over an existing
>>file. It's easy and works well, but of course the modal panel blocks
>>your entire application while it's being displayed.
>
> Mike,
>
> 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.
So it is. I must have been thinking of something else.
Mike
_______________________________________________
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