It’s issue #2 already

Ken Miller (@seriousken) and I gave a presentation (well, I sat there while he talked, I did make the pretty slides though) last Wednesday at the San Francisco Ruby Meetup, which was located at Yammer’s offices. Our presentation was on RMQ andCDQ. Ken says Yammer has a video of it, but we haven’t got our hands on it yet. If we can’t get the video, I’ll post the deck on the

Ben Kudria (@bkudria) and Clay Allsopp (@clayallsopp) at Propeller gave a presentation about using AFMotion and Rocket to do real-time data transfer between Rails and RubyMotion.

At the meetup we met a bunch of people, one of which was Melvyn Hills (@melvynhills) who is the creator if this week’s app, Frontback (below). Here is everyone who attended.

If you are in the Bay Area you should come to the next SF meetup, or rmq(you).closest(Meetup). RubyMotion is still a small community, so it’s a great time to get involved.

Lastly, I heard a rumor that RubyMotion #inspect 2014 will be in San Francisco.

Happy coding, Todd Werth (@twerth)

Articles, News, and Blog Posts

This week

11/17/2013 – Multipeer Connections and RubyMotion” by Will Raxworthy

11/15/2013 – “Core Data Load Optimization in RubyMotion” by Lori Olson

11/13/2013 – RubyMine Momiji Beta is Here!” by JetBrains
For you IDE lovers out there, Momiji is the next version of RubyMine
11/11/2013 – “OS X and RubyMotion, Finishing Up” by Raymond T. Hightower

In case you missed them

9/13/2013 – “Those pesky new iOS 7 Icon Sizes” by Mark Rickert7/15/2013 – Four RubyMotion Pitfalls and One Non-Issue by Ken Miller

RubyMotion Tips

First tip: how to view the release notes for RubyMotion:
> open /Library/RubyMotion/NEWS
> motion changelog

Second tip: how to run your app in the different simulators:
iPhone 4″ (5, 5c, 5s)
> rake

iPhone 3.5″ (4, 4s)
> rake retina=3.5

iPad 2 and iPad Mini 1
> rake device_family=ipad

iPad >= 3  and iPad Mini 2
> rake device_family=ipad retina=true

RubyMotion App of the Week

Updated 11/7/2013 – Frontback 
“Frontback is a fun and fast way to show your friends what you’re up to. Take a photo with the front camera, another with the back camera, and share them both in a single image. ”

An article on the RubyMotion Blog about the creation of Frontback

RMQ Tips

What is RubyMotionQuery (RMQ) you ask? Check out this video.

Globally add your application’s standard colors:

rmq.color.add_named :battleship_gray, ‘#7F7F7F’
rmq.color.add_named :translucent_black, rmq.color.from_rgba(0, 0, 0, 0.4)
Once added, you can use them like so:
rmq.color.battleship_grayrmq.color also has all the standard colors:
rmq.color.redIf you’re using rmq’s stylesheets you can leave off the rmq:
st.background_color =
This works for fonts too, exactly the same way.If you’re using rmq’s stylesheets you can set all of your standard colors in ApplicationSylesheet#application_setup:

class ApplicationStylesheet < RubyMotionQuery::Stylesheet
  def application_setup
    font_family = ‘Helvetica Neue’
    font.add_named :large,  font_family, 36
    font.add_named :medium, font_family, 24
    font.add_named :small, font_family, 18
    color.add_named :translucent_black, color.from_rgba(0, 0, 0, 0.4)
    color.add_named :battleship_gray, ‘#7F7F7F’

This Issue’s Sponsor

MotionInMotion – The New RubyMotion Screencast!

Master building iOS and Mac apps!

Watch episodes about:

  • Building iOS and OS X apps with Ruby
  • Programming your interfaces
  • When Xcode can be helpful
  • Creating stunning animations
  • Zero to TestFlight to Deploy
  • Using Core Data
All episodes will be done using behavior driven development!

One more thing

I’m not sure what this is, but it’s cool:

If you have any tips, blog posts, or want to sponsor this newsletter, please send emails to