Re: Preferences File & storing in .app
Re: Preferences File & storing in .app
- Subject: Re: Preferences File & storing in .app
- From: Robert Cerny <email@hidden>
- Date: Mon, 3 May 2004 19:12:57 +0200
Hi,
storing anything in .app is very bad design because you can't predict
if the user has enough privileges...
Robert
On 3.5.2004, at 17:02, Matthias Edrich wrote:
Hi All,
I want to store application preferences within a Preference File
within the standard user home location
in Mac OS X.
My application is programmed with XCode in Java. Essentially, I want
to:
1) Have the application create a preference file if none exists
2) Have the application write to the file
3) Be able to read from the file.
How do I do this?
Also,... my application reads information from a file,
which I place within my home directory. Is there a way
I can store this file within the MyApplication.app directory
and references it there? How would I go about doing that?
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.