Re: NSDocument app notification of restoring windows
Re: NSDocument app notification of restoring windows
- Subject: Re: NSDocument app notification of restoring windows
- From: Martin Hewitson <email@hidden>
- Date: Wed, 26 Oct 2011 18:56:31 +0100
OK, I wrote too soon. Sorry.
The relevant thread is
"Lion's new "Resume" feature, document restoration, and splash screens"
I'll read that through again and try the solution given there.
Martin
On Oct 26, 2011, at 06:54 PM, Martin Hewitson wrote:
> Dear list,
>
> I have an NSDocument based app which has a 'welcome' screen which appears when the app launches. This is much like the window that opens when Xcode first starts. I want to support restorable windows, but I would like a way to know if the app will/did restore one or more windows, so that I can decide to show the 'welcome' screen or not. I seem to recall this being discussed on this list, but I can't dig up that conversation.
>
> Does anyone know if there's a notification or delegate method that would tell me if the app will restore any windows?
>
> Best wishes,
>
> Martin
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Martin Hewitson
> Albert-Einstein-Institut
> Max-Planck-Institut fuer
> Gravitationsphysik und Universitaet Hannover
> Callinstr. 38, 30167 Hannover, Germany
> Tel: +49-511-762-17121, Fax: +49-511-762-5861
> E-Mail: email@hidden
> WWW: http://www.aei.mpg.de/~hewitson
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Martin Hewitson
Albert-Einstein-Institut
Max-Planck-Institut fuer
Gravitationsphysik und Universitaet Hannover
Callinstr. 38, 30167 Hannover, Germany
Tel: +49-511-762-17121, Fax: +49-511-762-5861
E-Mail: email@hidden
WWW: http://www.aei.mpg.de/~hewitson
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
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