Re: Cocoa daemon
Re: Cocoa daemon
- Subject: Re: Cocoa daemon
- From: "M. Uli Kusterer" <email@hidden>
- Date: Wed, 19 Nov 2003 03:22:08 +0100
At 21:38 Uhr -0800 12.11.2003, Christopher Corbell wrote:
1) Is it possible for an app to change state in this regard?
E.g. could a regular Cocoa app with icon in the dock be switched
into daemon mode, so that its main process keeps running but its
UI and dock icon go away?
Not as of 10.2. I haven't done any further research on this since
10.2, though.
2) If the app is created as a daemon but contains AppKit,
can it still (say, responding to an AppleEvent) come to the
foreground, put up a menu bar & UI, etc?
I don't think your application can put up a menu bar, but I think it
*can* show a dialog. Utility windows work, I know that since I'm
doing that and it's going fine. However, if you really need that, I
suggest you create a regular helper application, embed it into your
daemon's bundle and launch that when you need a full-blown GUI.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.