• 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 12:23:40 -0400
  • Organization: Rogue Research Inc.

On 5/14/09 8:12 AM, Keary Suska said:

>> 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.

In general I agree that stacked or nested sheets are not good.  But like
everything in life, there are exceptions.  I think the "do you want to
replace?" case is one such exception.  Closing the save panel would be
annoying, because if you decide against replacing you then need to show
the save panel again.  App-wide modality is a worse evil.  So in this
case it's the least bad choice, IMHO.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

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

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>)
 >Re: Special requirements for the window param of NSAlert beginSheetModalForWindow? (From: Keary Suska <email@hidden>)

  • Prev by Date: Re: Interpreting -underlinePosition and -underlineThickness
  • Next by Date: Re: initWIthFrame or awakeFromNib
  • Previous by thread: Re: Special requirements for the window param of NSAlert beginSheetModalForWindow?
  • Next by thread: Animate the initial selection of a cell in UITableView
  • Index(es):
    • Date
    • Thread