cascading sheets and HIG
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.