• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: creating plist, reading too
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Saving "objects" & opening them up in a non-document based App (From: Aaron Boothello <email@hidden>)
 >creating plist, reading too (From: Matt Jaffa <email@hidden>)

  • Prev by Date: Re: XCode and frameworks
  • Next by Date: Re: XCode and frameworks
  • Previous by thread: Re: creating plist, reading too
  • Next by thread: Re: creating plist, reading too
  • Index(es):
    • Date
    • Thread