NSDocument app notification of restoring windows
NSDocument app notification of restoring windows
- Subject: NSDocument app notification of restoring windows
- From: Martin Hewitson <email@hidden>
- Date: Wed, 26 Oct 2011 18:54:38 +0100
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
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