Sharing config settings between 2 cocoa apps

Posted by bitboxer on Stack Overflow See other posts from Stack Overflow or by bitboxer
Published on 2010-05-31T06:22:01Z Indexed on 2010/05/31 6:32 UTC
Read the original article Hit count: 197

Filed under:
|

I am new to cocoa development and want to create a little app. For that app I need a background worker that is running all the time and a prefpane-app that gives the user the opportunity to change the settings for that background worker.

The gui for the prefpane is ready, the background worker is ready, too. One of the few missing things is how to share the preferences between both apps. How do I notify the worker about changes of the preferences? And how do I store it in a way that both can read/write to it?

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about mac