Hi all, How can one support the new Resume feature and also show a splash screen at app launch, before documents are opened?
I've added logs to my NSApplicationDelegate and observed the launch sequence and it goes like: awakeFromNib applicationWillFinishLaunching NSApplicationDidFinishRestoringWindowsNotification applicationDidFinishLaunching If I try to display a simple UI from applicationWillFinishLaunching, say by using [NSApp runModalForWindow:...], it starts a run loop, which processes an open apple event, which starts the whole Resume mechanism, which then restores documents. Is there a point where I can show a simple window with an "I Agree" button, and until it's pressed, prevent any document from opening? (And I know someone is going to tell me: don't show an icky splash screen... that option is being considered too.) Thanks, -- ____________________________________________________________ Sean McBride, B. Eng [email protected] Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
