Skip to content
rcloud edited this page Jun 10, 2012 · 1 revision

#Libraries, Gems, and CocoaPods

##Using Ruby gems using ruby gems in RubyMotion is relatively simple now. The gem must be compiled for RubyMotion, but after that you can include it in your rakefile by just using require 'foo' where foo is in single quotes.

Note that I currently must also require 'rubygems' above it in order to use it.

Note also that you cannot use require in your actual source code, both for technical reasons and for the Apple restrictions on loading code dynamically.

##simple-view This is a DSL library which makes it easier to code views. it includes templates for a variety of view controllers and views. There is a demo app called CurrencyApp.

Clone this wiki locally