Re: cocoa/obj-c type daemon
Re: cocoa/obj-c type daemon
- Subject: Re: cocoa/obj-c type daemon
- From: Matt Jaffa <email@hidden>
- Date: Wed, 06 Oct 2004 13:34:37 -0600
Thanks that worked great.
hmm Maybe I will have to use NSRunLoop, I will look into that way for
handling my socket stuff
Matt
On Oct 6, 2004, at 1:25 PM, Dominik Pich wrote:
In the app's info.plist try setting 'LSUIElement' to String '1'
Regards
Dominik
On Oct 6, 2004, at 8:19 PM, Matthew Jaffa wrote:
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
_______________________________________________
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
_______________________________________________
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