cocoa/obj-c type daemon
cocoa/obj-c type daemon
- Subject: cocoa/obj-c type daemon
- From: "Matthew Jaffa" <email@hidden>
- Date: Wed, 06 Oct 2004 12:19:20 -0600
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
_______________________________________________
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