• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [Newbie] How to make application reappear after a close?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Newbie] How to make application reappear after a close?


  • Subject: Re: [Newbie] How to make application reappear after a close?
  • From: whamoo <email@hidden>
  • Date: Fri, 7 Jan 2005 20:25:52 +0100


On 07/gen/05, at 18:15, M. Uli Kusterer wrote:

f you want your application to actually *quit* when the last window is closed, there's an NSApplication delegate method for that (applicationShouldQuitWhenLastWindowCloses: or something like that).

If you don't want your application to quit, you need to manually reopen the window. E.g. for a document-based application, NSApp will automatically open a new untitled document when you click the dock icon and no documents are open.

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? =) )


Whamoo www.rknet.it
Powered by:
- MacOsX
- Gnu / Linux Debian Sarge
- Amiga Os 3.9
- Milk

_______________________________________________
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


References: 
 >[Newbie] How to make application reappear after a close? (From: whamoo <email@hidden>)
 >Re: [Newbie] How to make application reappear after a close? (From: "Sean McBride" <email@hidden>)
 >Re: [Newbie] How to make application reappear after a close? (From: whamoo <email@hidden>)
 >Re: [Newbie] How to make application reappear after a close? (From: "M. Uli Kusterer" <email@hidden>)

  • Prev by Date: Re: Default Button heartBeat bug
  • Next by Date: Re: NSSound and _NSAutoreleaseNoPool() - just leaking
  • Previous by thread: Re: [Newbie] How to make application reappear after a close?
  • Next by thread: ID3 tags from AAC files
  • Index(es):
    • Date
    • Thread