Upgrade to Pro — share decks privately, control downloads, hide ads and more …

RubyMotion: The sleeper has awakened!

RubyMotion: The sleeper has awakened!

Why RubyMotion is awesome, the story behind Basecamp for iPhone, and more. Beta tested at WNYRuby, given at #inspect and PGH.rb.

Nick Quaranto

March 28, 2013
Tweet

More Decks by Nick Quaranto

Other Decks in Programming

Transcript

  1. +

  2. +

  3. # in your Rakefile require 'motion-settings-bundle' Motion::SettingsBundle.setup do |app| app.text

    "Version", key: "version", default: "1.0.0" app.toggle "Awesome?", key: "awesomeOn", default: true app.child "Acknowledgements" do |ack| ack.child "AwesomeOSSLibrary" do |lic| lic.group "Copyright 2013 AwesomeOSSContributor" lic.group "A bunch of legal stuff" end end end
  4. Motion::Layout.new do |lay| lay.view self.view.tableFooterView lay.subviews "switch" => @switch, "help"

    => @help lay.vertical "|-15-[switch]-10-[help(==switch)]-15-|" lay.horizontal "|-10-[switch]-10-|" lay.horizontal "|-10-[help]-10-|" end
  5. +