Re: Cocoa App daemon with NSPanel
Re: Cocoa App daemon with NSPanel
- Subject: Re: Cocoa App daemon with NSPanel
- From: Stephane Sudre <email@hidden>
- Date: Thu, 15 Jan 2004 11:15:18 +0100
Depending on the OS you're targeting, there are multiple solutions.
If you're planning on OS X 10.3 and later only, you could have a look
at the SystemLoginItem API but I fear it's not completely available and
public yet.
Otherwise, we have in store:
- using CFUserNotification from the Daemon, this avoids the need for a
front-end panel.
- launching the front-end from the Daemon using the LSLaunchServices
API.
- launching the front-end from the Daemon using system and open and
connecting to the WindowServer if needed.
- setting the Front-end to be a LoginItem (also dumbly called
StartupItem in Panther) and enabling this login item for every user on
the OS and enabling it as soon as a new user is created
On Thursday, January 15, 2004, at 06:05 AM, Daniel Todd Currie wrote:
Yah I'm working on a daemon/front end app as well, a good DO example
would be awfully handy.
On 2004 Jan 14, at 20:11, Matt Jaffa wrote:
Hi,
I am trying to develop a daemon that uses Cocoa and Objective-c.
I have a while loop that is searching for socket connections and
when it receives a connection I would like to call a pop up Panel
==== NSPanel get information from the user, they then submit it,
and then the dameon takes that information and sends it back through
a socket.
I know how to do all the socket stuff, but don't know how to
integrate the idea of only having a pop-up panel pop up when it
receives a connection .
I know explained this not so well, anyone can point me to some
examples.
a daemon/cocoa app please
_______________________________________________
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.