• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Special requirements for the window param of NSAlert beginSheetModalForWindow?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Special requirements for the window param of NSAlert beginSheetModalForWindow?
      • From: Michael Ash <email@hidden>
References: 
 >Re: Re: Special requirements for the window param of NSAlert beginSheetModalForWindow? (From: Dennis Christopher <email@hidden>)
 >Re: Re: Special requirements for the window param of NSAlert beginSheetModalForWindow? (From: Michael Ash <email@hidden>)

  • Prev by Date: Re: Re: Special requirements for the window param of NSAlert beginSheetModalForWindow?
  • Next by Date: Re: initWIthFrame or awakeFromNib
  • Previous by thread: Re: Re: Special requirements for the window param of NSAlert beginSheetModalForWindow?
  • Next by thread: Re: Special requirements for the window param of NSAlert beginSheetModalForWindow?
  • Index(es):
    • Date
    • Thread