Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
NSDocument app notification of restoring windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSDocument app notification of restoring windows



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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.