Skip navigation.
 
mlcocoa/obj-c type daemon
FROM : Matthew Jaffa
DATE : Wed Oct 06 20:19:20 2004

Hi,

I have a Foundation tool daemon running that diplays a pop-up when-ever
input is needed. I would like to convert this tool to cocoa/obj-C. This
daemon will be running only when a user is logged in with the window server
running, so that the app can display the pop-up window.

So far with my example when it calls NSApplicationMain(argc, argv); the icon
shows up in the Doc.
Is there any way to make this not possible and to make it so that they don't
even know the daemon is running, only by doing a ps.

And then where in my Cocoa application would I put my code that my
foundation daemon tool had, it was in a forever while loop accepting socket
connections, so where would this be placed in the code, would I have to
subclass NSApplication to take care of this????

Basically in the nib file I have a panel, with a controller for it, that I
want displayed whenever is needed to be displayed by my accepting
connections code.

Thanks,
Matt

Related mailsAuthorDate
mlcocoa/obj-c type daemon Matthew Jaffa Oct 6, 20:19
mlRe: cocoa/obj-c type daemon Bill Cheeseman Oct 6, 21:20
mlRe: cocoa/obj-c type daemon Dominik Pich Oct 6, 21:25
mlRe: cocoa/obj-c type daemon Matt Jaffa Oct 6, 21:34
mlRe: cocoa/obj-c type daemon j o a r Oct 6, 21:47
mlRe: cocoa/obj-c type daemon Dominik Pich Oct 6, 22:09
mlRe: cocoa/obj-c type daemon Sungjin Chun Oct 7, 03:54