• 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
cascading sheets and HIG
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cascading sheets and HIG


  • Subject: cascading sheets and HIG
  • From: Alex Rice <email@hidden>
  • Date: Fri, 24 Jan 2003 17:42:38 -0700

The Cocoa docs say the correct way to handle "cascading" sheets is to present them one at a time, closing each one before opening the next. I'm in a situation where that would be a kind of a pain in the butt to implement. So I'm breaking that rule and just throwing up a bunch of sheets with NSBeginAlertSheet(). I'm catching notifications in my NSApp delegate, which queries my NSDocumentController, decides what document and window the notification belongs to, and sends the sheet to that window. One sheet per notification.

I've noticed that for Document windows that get more than one sheet, only sometimes I see the behaviour where the Window dissapears after the last sheet is dismissed, or I can't quit out of the app, or the Document window is empty and white. I have a didEndSelector, but it's not doing anything. So is "cascading" sheets like this just an HIG issue or is there something worse going on here?

thankx,

Alex Rice <email@hidden> | Mindlube Software | http://mindlube.com

what a waste of thumbs that are opposable
to make machines that are disposable -Ani DiFranco
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: cascading sheets and HIG
      • From: Nicholas Riley <email@hidden>
    • Re: cascading sheets and HIG
      • From: m <email@hidden>
  • Prev by Date: IOKit problems with USB IR device
  • Next by Date: Re: NSBrowser: so very, very broken
  • Previous by thread: IOKit problems with USB IR device
  • Next by thread: Re: cascading sheets and HIG
  • Index(es):
    • Date
    • Thread