Re: Global (all-user) preferences for an application
Re: Global (all-user) preferences for an application
- Subject: Re: Global (all-user) preferences for an application
- From: Jean Suisse <email@hidden>
- Date: Thu, 21 Mar 2013 15:51:11 +0100
>> Isn't resorting to a SMJobBless helper tool endowed with XPC capabilities just for storing a few must-be-global preference a little overkill?
>
> No, it's not overkill. If it seems like overkill to you, you should re-evaluate your need to set "a few must-be-global preferences". Writing to /Library/<anything> *is* a *big* deal.
The project is a scientific data acquisition application that aims at being "plug & play" for a wide range of devices. It is based on the idea of letting the scientist grab some hardware, build an experiment workbench and interfacing everything with the app so that it just works.
Because the app is so versatile there is more configuration to be done and parameters to be entered about the hardware than in a traditional application where everything pertaining tho the communication interface, ports, communication protocol, etc. is built-in.
We are talking about 5-15 properties per device. I expect users to configure around 4 to 6 devices. That's not a lot of configuration to store. But that's a lot if you have to enter it for EVERY user on the computer.
How can I avoid global preferences that apply to all users?
_______________________________________________
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