Building iOS Apps With RubyMotion

Preview:

Citation preview

Building iOS AppsWith RubyMotion

@RayHightower (Twitter, GitHub, etc.)

What

Why

How

Q & A

What

http://rubymotion.com

Compiled (.ipa)vs.

Interpreted

Why TDD?

“You Ruby folks do TDD...”

Why RubyMotion?

“I’ll be interested when RubyMotion looks like Ruby.”

“...Making Cocoa APIs more Ruby like, one API at a time.”

~@merbist

Advantage:

“...shorter, more readable files...

Josh Symondshttp://joshsymonds.com/blog/2012/05/04/why-rubymotion-is-better-than-objective-c/

Disadvantage: “If Apple were to

break RubyMotion...”

Steve Madsenhttp://lightyearsoftware.com/2012/05/rubymotion/

Ruby Version Manager

(RVM)

https://rvm.io//

MacBacon:RSpec clone that

knows iOS.

https://github.com/alloy/MacBacon

rm-redgreen:Red. Green. Refactor.

https://github.com/mdks/rm-redgreen

Interface Builder

.xib files

http://ianp.org/2012/05/07/rubymotion-and-interface-builder/

How:Live coding...

Hello World!

RubyMotion Console

3 returns Fizz

5 returns Buzz

@RayHightower (Twitter, GitHub, etc.)

Q & A