• 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: Keary Suska <email@hidden>
  • Date: Thu, 14 May 2009 08:12:31 -0600

On May 13, 2009, at 9:07 PM, Michael Ash wrote:

3) Use performSelector:withObject:afterDelay: with a 0 delay to run
the code to show the new sheet after the old sheet has truly gone
away. This will result in one sheet being followed by another sheet as
you desire.

I have had success with successive sheet display by calling -orderOut: or -close: on the sheet before displaying the next. This is also documented as the proper way to display successive sheets.


On May 13, 2009, at 10:27 PM, Sean McBride wrote:


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.

Best,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"

_______________________________________________

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: "Sean McBride" <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: Inverting a black and white NSImage
  • Next by Date: Re: Updating NSTableView
  • Previous by thread: 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