• 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: Daemon application with System Preferences Pane
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Daemon application with System Preferences Pane


  • Subject: Re: Daemon application with System Preferences Pane
  • From: Constantine <email@hidden>
  • Date: Thu, 10 Jan 2008 11:56:06 +0800


On Jan 10, 2008, at 8:01 AM, Herb Petschauer wrote:

On 09/01/2008, Eric MORAND <email@hidden> wrote:
Hi guys,

I'm planning on developping a daemon app whose preferences are set in
a system preferences pane. This is the first time I have to develop
such a project and I don't know where to start.


there is an apple's sample code about preferences pane http://developer.apple.com/samplecode/PrefsPane/index.html

So, here I come !

- What kind of project should I use for my daemon ? What am I supposed
to do to create en app with no dock icon ?



--to create an app with no dock icon, refer to:
http://forums.macosxhints.com/archive/index.php/t-7193.html
add a key-value (NSUIElement = 1) to the info.plist, key is NSUIElement and value "1" is a string type


- Should I have two separated projects for the daemon and the
preferences pane or only one, with two targets ?
- I'd like my preferences pane to update some informations when the
daemon is running (the way .Mac pane works) and, of course, when a
preference is set in the pane, the daemon needs to accordingly. What
is the best way to achieve this ? Can my daemon "communicate" with the
pane in some way ?



Have you tried,
<http://developer.apple.com/documentation/MacOSX/Conceptual/ BPSystemStartup/Articles/DesigningDaemons.html>?


[7th hit for the word "daemon" on developer.apple.com, similar results
for say "preference pane"]

Cheers,
-H.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


============================================= Qi Liu E-Mail: email@hidden --Stay Hungry. Stay Foolish. --You've got to find what you love. =============================================




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Daemon application with System Preferences Pane (From: Eric MORAND <email@hidden>)
 >Re: Daemon application with System Preferences Pane (From: "Herb Petschauer" <email@hidden>)

  • Prev by Date: Re: Creating a Core Data App from a non Core Data Project
  • Next by Date: Property List Serialization in Sketch
  • Previous by thread: Re: Daemon application with System Preferences Pane
  • Next by thread: EXC_BAD_ACCESS when trying to use [NSMutableURLRequest setHTTPBodyStream]
  • Index(es):
    • Date
    • Thread