22
Building iOS Apps With RubyMotion

Building iOS Apps With RubyMotion

Embed Size (px)

Citation preview

Page 1: Building iOS Apps With RubyMotion

Building iOS AppsWith RubyMotion

Page 2: Building iOS Apps With RubyMotion

@RayHightower (Twitter, GitHub, etc.)

Page 3: Building iOS Apps With RubyMotion

What

Why

How

Q & A

Page 4: Building iOS Apps With RubyMotion

What

Page 5: Building iOS Apps With RubyMotion

http://rubymotion.com

Page 6: Building iOS Apps With RubyMotion

Compiled (.ipa)vs.

Interpreted

Page 7: Building iOS Apps With RubyMotion

Why TDD?

Page 8: Building iOS Apps With RubyMotion

“You Ruby folks do TDD...”

Page 9: Building iOS Apps With RubyMotion

Why RubyMotion?

Page 10: Building iOS Apps With RubyMotion

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

Page 11: Building iOS Apps With RubyMotion

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

~@merbist

Page 12: Building iOS Apps With RubyMotion

Advantage:

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

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

Page 13: Building iOS Apps With RubyMotion

Disadvantage: “If Apple were to

break RubyMotion...”

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

Page 14: Building iOS Apps With RubyMotion

Ruby Version Manager

(RVM)

https://rvm.io//

Page 15: Building iOS Apps With RubyMotion

MacBacon:RSpec clone that

knows iOS.

https://github.com/alloy/MacBacon

Page 16: Building iOS Apps With RubyMotion

rm-redgreen:Red. Green. Refactor.

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

Page 17: Building iOS Apps With RubyMotion

Interface Builder

.xib files

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

Page 18: Building iOS Apps With RubyMotion

How:Live coding...

Page 19: Building iOS Apps With RubyMotion

Hello World!

Page 20: Building iOS Apps With RubyMotion

RubyMotion Console

Page 21: Building iOS Apps With RubyMotion

3 returns Fizz

5 returns Buzz

Page 22: Building iOS Apps With RubyMotion

@RayHightower (Twitter, GitHub, etc.)

Q & A