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 00:27:16 -0400
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.
Sean
--
"Freedom is never voluntarily given by the oppressor; it must be
demanded by the oppressed." - Martin Luther King
_______________________________________________
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