Re: Lion's new "Resume" feature, document restoration, and splash screens
Re: Lion's new "Resume" feature, document restoration, and splash screens
- Subject: Re: Lion's new "Resume" feature, document restoration, and splash screens
- From: Philip Ershler <email@hidden>
- Date: Wed, 27 Jul 2011 17:37:34 -0600
On Jul 27, 2011, at 5:16 PM, John Joyce wrote:
>
> On Jul 28, 2011, at 7:29 AM, Sean McBride wrote:
>
>> 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@hidden
>> Rogue Research www.rogue-research.com
>> Mac Software Developer Montréal, Québec, Canada
>
> Please don't show splash screens.
> Launch your app.
> Use lazy loading.
> Users don't want brand marketing every time they use an app. They want to get back to work._______________________________________________
>
At a minimum, please oh please include a preference to turn the splash screen off.
Thanks, Phil
_______________________________________________
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