Re: Newbie questions
Re: Newbie questions
- Subject: Re: Newbie questions
- From: Xavier Elizalde <email@hidden>
- Date: Wed, 26 Apr 2006 17:28:38 +1000
This exercise had me read a plist from the application bundle for the
default values for text fields rather than have the values directly
in the code, but the modifications were put in a plist in ~/Library/
Preferences. I got it working fine. I know what you mean, though.
On 26/04/2006, at 2:54 AM, Ondra Cada wrote:
Xavier,
just a bit of clarification (things noted below tend to be often
misunderstood):
On Apr 25, 2006, at 6:39 PM, Xavier Elizalde wrote:
I thought it meant to write information in the application bundle,
Generally, you can*not* write to the app bundle runtime, no way.
The reason is that in any half-decent setup the app bundle is not
user writeable.
not just read from the application bundle and write in ~/Library/
Preferences
It does not. Whatever you set by [defaults set*Value:... forKey:]
gets written there all right; registered values though are *not*
written *anywhere*. They are kept in a cache and used from there if
there is no appropriate value in Preferences.
---
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