Re: creating plist, reading too
Re: creating plist, reading too
- Subject: Re: creating plist, reading too
- From: Shawn Erickson <email@hidden>
- Date: Sun, 18 Jan 2004 12:00:20 -0800
On Jan 17, 2004, at 7:34 AM, Matt Jaffa wrote:
Hi,
I'm trying to develop an application right now, and it is going to
use a .plist
for all the different settings/preferences etc.
Im new to this, so How do i read in from a plist, is there already a
made parser.
Also how do i write to one?
Does it use a Dictionary to do stuff like this.
I am using the CoreFoundation, I was wondering if the Core Foundation
has some api that will do this for you.
Others have given you pointers to how to do this but just to make sure
you don't end up doing more work then needed... if you happen to be
using Cocoa at all (not 100% clear from the above) use NSUserDefaults.
<file:///Developer/Documentation/Cocoa/Reference/Foundation/
ObjC_classic/Classes/NSUserDefaults.html>
and...
<file:///Developer/Documentation/Cocoa/Conceptual/UserDefaults/
index.html>
- Shawn
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.