• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cocoa daemon with Panel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa daemon with Panel


  • Subject: Re: Cocoa daemon with Panel
  • From: Chad Jones <email@hidden>
  • Date: Thu, 15 Jan 2004 23:34:50 -0800

There is no example code on daemons putting up GUI available.

Now when your daemon (which isn't accociated with any user) puts up a dialog to which user should it go?
In Panther you can have multiple users logged in at the same time. Also, what if there is no user logged into the system what will you do then? Its generally recommended that developers do not put up GUI at logout though there may be a new section in the upcoming HIG which will talk about this a bit.

Can you please describe what it is you are doing and why you feel you need to put up a panel from a daemon (and why CFUserNotification isn't enough)?

Thanks.

On Jan 15, 2004, at 5:30 PM, Matt Jaffa wrote:

Examples would be nice if there exist some


On Jan 15, 2004, at 6:17 PM, Chad Jones wrote:

Hi Matt,

What do you mean by daemon here? Are you for example launched as a StartupItem are a long lived process and thus aren't associated with any one user? Or perhaps you are referring to something else?

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

Thanks,
Matt
_______________________________________________
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.
_______________________________________________
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.

References: 
 >Cocoa App daemon with NSPanel (From: Chad Jones <email@hidden>)
 >Re: Cocoa App daemon with NSPanel (From: Matt Jaffa <email@hidden>)

  • Prev by Date: Re: How can i get mouse events on image view?
  • Next by Date: Re: Drawing UI Control items at run time
  • Previous by thread: Re: Cocoa App daemon with NSPanel
  • Next by thread: Re: Cocoa App daemon with NSPanel
  • Index(es):
    • Date
    • Thread