forked from ckruse/CFPropertyList
-
Notifications
You must be signed in to change notification settings - Fork 0
Read, write and manipulate both binary and XML property lists as defined by apple
License
ericpeters0n/CFPropertyList
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
CFPropertyList implementation class to read, manipulate and write both XML and binary property list files (plist(5)) as defined by Apple. Have a look at CFPropertyList::List for more documentation. == Installation You could either use ruby gems and install it via gem install CFPropertyList or you could clone this repository and place it somewhere in your load path. Eric's Updated README... # create CFPropertyList::List object plist = CFPropertyList::List.new # call CFPropertyList.guess() to create corresponding CFType values plist.value = CFPropertyList.guess(data) # write plist to file plist.save("example.plist", CFPropertyList::List::FORMAT_BINARY) # … later, read it again plist = CFPropertyList::List.new(:file => "example.plist") data = CFPropertyList.native_types(plist.value) Author:: Christian Kruse (mailto:[email protected]) Copyright:: Copyright (c) 2010 License:: MIT License
About
Read, write and manipulate both binary and XML property lists as defined by apple
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- Ruby 94.1%
- Objective-C 5.9%