• 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
cocoa/obj-c type daemon
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: cocoa/obj-c type daemon
      • From: Dominik Pich <email@hidden>
    • Re: cocoa/obj-c type daemon
      • From: Bill Cheeseman <email@hidden>
  • Prev by Date: NSFontPanel & NSColorPanel
  • Next by Date: Re: MVC paradigm: multiple controllers?
  • Previous by thread: NSFontPanel & NSColorPanel
  • Next by thread: Re: cocoa/obj-c type daemon
  • Index(es):
    • Date
    • Thread