Re: Cocoa-dev Digest, Vol 2, Issue 31
Re: Cocoa-dev Digest, Vol 2, Issue 31
- Subject: Re: Cocoa-dev Digest, Vol 2, Issue 31
- From: Kevin Patfield <email@hidden>
- Date: Fri, 7 Jan 2005 18:04:09 -0700
Message: 3
Date: Fri, 7 Jan 2005 20:25:52 +0100
From: whamoo <email@hidden>
Subject: Re: [Newbie] How to make application reappear after a close?
To: "M. Uli Kusterer" <email@hidden>
Cc: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Oks, but for non document based application, what i must do for
manually reopen the window?
I've only one class in the nib, i think there must be a way to tell
application to reload default class? (or not? =) )
So, Dan Saul already told you where to find the method to open the
window. Now you should be asking yourself how your controller can know
when to do this. As there are no windows left just about the only
object that could help you is your NSApplication. Perhaps there is a
delegate message that the application sends under these circumstances.
If your controller were its delegate it would receive this message. It
shouldn't be too difficult to find in the NSApplication class. ;-)
Kevin Patfield
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden