Skip to content

Instantly share code, notes, and snippets.

@nakiwo
Created May 2, 2013 07:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nakiwo/5500639 to your computer and use it in GitHub Desktop.
Save nakiwo/5500639 to your computer and use it in GitHub Desktop.
rubycocoaでplist生成
require 'osx/cocoa'
data = OSX::NSPropertyListSerialization.dataWithPropertyList_format_options_error_(obj, OSX::NSPropertyListBinaryFormat_v1_0, 0, nil)
data.writeToFile_atomically_(path, true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment