Re: Stack of NSWindow sheets
Re: Stack of NSWindow sheets
- Subject: Re: Stack of NSWindow sheets
- From: Kyle Sluder <email@hidden>
- Date: Wed, 27 Apr 2011 10:08:24 -0700
On Wed, Apr 27, 2011 at 6:35 AM, Oleg Andreev <email@hidden> wrote:
> Again, normally you'll see no dialogs at all (when the password is already stored in keychain) or a single dialog when a new repository is added or the password was changed. But I should have a nice fallback for a case when several dialogs get popped out. With floating modal windows it is not a problem: they live independently from each other. But floating modal windows look awful, so I want to use sheets. And to present them correctly, I need to maintain some sort of a queue for these sheets.
Several dialogs get popped out because it background-updates multiple
repositories and more than one of them issues an authentication error?
Do you support an "offline" mode that would stop your app from
performing background updates? If so, then I would display a sheet for
the first repo that issues an authentication error, and any other
repos that issue an error while the sheet for the first one is still
up go into offline mode rather than enqueueing another sheet.
I'm thinking of an interface similar to iCal or Mail, which displays
little lightning bolts next to offline accounts.
--Kyle Sluder
_______________________________________________
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