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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to