kaomte / cfpropertylist Goto Github PK
View Code? Open in Web Editor NEWThis project forked from ckruse/cfpropertylist
Read, write and manipulate both binary and XML property lists as defined by apple
License: MIT License
This project forked from ckruse/cfpropertylist
Read, write and manipulate both binary and XML property lists as defined by apple
License: MIT License
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. == Example require 'cfpropertylist' # create a arbitrary data structure of basic data types data = { 'name' => 'John Doe', 'missing' => true, 'last_seen' => Time.now, 'friends' => ['Jane Doe','Julian Doe'], 'likes' => { 'me' => false } } # 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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.