Re: Open System Preferences?
Re: Open System Preferences?
- Subject: Re: Open System Preferences?
- From: Ondra Cada <email@hidden>
- Date: Sun, 16 Apr 2006 18:53:40 +0200
Oh, sorry,
On 16.4.2006, at 18:37, Ondra Cada wrote:
In this very case (all the names fixed, no accents or spaces) I
would even consider using the -- in general very rightly avoided --
"system" call
I've read the thread a bit too fast: since in this case the
"spacelessness" :) is not granted (for there is a non-trivial
probability the pref pane name would change in future to something
more elaborate), it is not the right place for using "system".
The rigth place is something like system("defaults write -
globalDomain OCSSomeSpecialDefault YES"): though you can write many
times more efficient code, you just can't beat the simplicity and
failproofness of this. Which, implementation-and-maintenance-cost-
wise, may count much more than the efficiency.
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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