I build web, mobile and desktop apps, produce screencasts, write ebooks, and provide pairing and training


Working with NSTableView

Aug 18, 2015

This article is a look at how to use NSTableView when building a Mac app using RubyMotion, and is taken from the Data chapter in my book, Building Mac OS X apps with RubyMotion. If you like what you read here, please take a look at my book - in the...

Building Mac OS X apps with RubyMotion early access edition is here

Jun 22, 2015

The book that I’ve been working on, Building Mac OS X apps with RubyMotion, is available now to purchase in early access. You can learn more about the book here. The book is about 2/3rd complete now, with the rest coming via regular updates over the...

Dragging and dropping into your RubyMotion Mac OS X app

May 20, 2015

In this tutorial we’re going to look at how to setup your app to receive drag and drop events - so that you can receive data simply by the user dragging something into a predefined area of your application user interface.

This can be quite useful...

User specified custom key combination for a global hotkey

May 13, 2015

Over a year ago, I covered global hotkeys in a tutorial on this very blog. However, handling a global hotkey combo is only half of the story - I’m sure in most apps you’ve seen that provide that kind of functionality, the app also allows the user to...

Update on Building Mac OS X apps with RubyMotion book

May 10, 2015

Phew! So it’s been a while since my last update about the book. In fact, it had been a while since the last tutorial articles, until this week! There has been a lot going on the last few months, which has meant I haven’t made as much progress on the...

Previewing video and audio when capturing on Mac OS X with RubyMotion

May 07, 2015

In the last article we covered how to capture video and audio from attached devices on Mac OS X using RubyMotion. In this article we’re going to extend our basic AVCapture app to display a preview of the video being captured, and audio levels, so that...

Capturing video and audio on Mac OS X with RubyMotion

May 06, 2015

In this article we’re going to look at how you can use RubyMotion and the AVFoundation framework to build a Mac OS X app that lets you capture video and audio from attached input sources (like the built-in iSight), and how you can then output that...

Customise a Mac OS X window further with RubyMotion and MotionKit

Dec 19, 2014

In our last article we looked at ways to build up a basic Mac OS X app window, adding controls and some interactivity. It was an introduction to how to layout and position controls to achieve the effect you want in an application window, but there are tools to make our lives easier, especially when it comes to building things that are more complex. Enter MotionKit.

How to setup and position basic controls in a Mac OS X app window using RubyMotion

Dec 17, 2014

We’ve focused a lot in past articles on menu bar apps, but of course it’s quite likely that if you’re building an OS X app, you’ll want to have an actual application window to expose further functionality, unless you can fit what your app does neatly...

How to implement global hotkeys in your Mac OS X app using RubyMotion

Mar 23, 2014

Many apps can make use of global hotkeys, often to perform a background action (such as taking a screenshot or starting and stopping something), or to hide and show the window of an app. To implement them in your own app, the easiest way is to use...

motion-popup: a RubyMotion gem for popup panels in your status bar app

Jan 04, 2014

Happy New Year to you all! Hope you all had a happy holidays and wonderful New Years.

In the last tutorial we setup a custom user interface using a popup window panel underneath our status bar menu item. I’ve now moved the core re-usable code to make...

Announcing Building Mac OS X apps with RubyMotion book

Dec 19, 2013

I’m having so much fun writing the recent articles on building Mac OS X apps with RubyMotion, and have so much more great content planned, that I decided I might as well take it to the next level and write a book on the topic. So today I’m announcing...

Building a custom user interface for your Mac OS X status bar app in RubyMotion

Dec 14, 2013

Status bar apps are very useful, but what we’ve gone through so far in our series on building Mac OS X status bar apps with RubyMotion really only covers the basics, and our apps can often be much improved by implementing a more custom user interface...

Displaying user notifications in your RubyMotion OS X app

Nov 27, 2013

Notification Center was first announced for Mac OS X 10.8 Mountain Lion, and then it saw some improvements for Mac OS X 10.9 Mavericks. Similar to the notifications on iOS, it provides a convenient way for applications to show information to the user...

How to integrate your RubyMotion OS X app with a JSON based web API

Nov 22, 2013

In our last article on RubyMotion OS X apps, we built a status bar app that fetched data in the background to keep the menu item continually updated and showing the latest information. Our data source was from the local system, fetching the CPU usage...

How to build a RubyMotion status bar app that updates in the background

Nov 07, 2013

In our last post we looked at how easy it is to create an OS X menu bar app using RubyMotion. This time around, we’ll look at one of the ways we can make status bar apps more useful - having it fetch and display data from an external source in the...

How to quickly get started creating status bar apps for Mac OS X using RubyMotion

Oct 18, 2013

Recently here at KickCode we’ve been working on our first Mac OS X application, due for submission to the App Store shortly, and using RubyMotion. We’ll be unveiling it shortly, but it’s a fairly simple utility app that lives in the status bar. Status...

How to refresh your RubyMotion app for iOS 7 in 30 minutes or less

Oct 09, 2013

With iOS 7 now launched, and with one of the highest adoption rates ever seen amongst mobile phone owners (estimates put it at around 200 million inside the first few days, compared with 100 million in a similar timeframe for iOS 6), it’s a great time...

Unity Render Texture

Sep 13, 2013

UPDATE: All engine features are now available in both Personal and Pro editions of Unity, so you no longer need a paid Unity license to use this feature!

This is a fairly brief tutorial on how to setup a Render Texture. This feature makes it trivial...

From 0 to 60 with Rails 4.0

Jun 25, 2013

Now that Rails 4.0 has been released (and Heroku have announced that all new Ruby apps default to Ruby 2.0!), let’s take a look at just how easy it is to get up to speed with the latest Ruby and Rails versions, so that we’re using the most up-to-date...


Building Mac OS X apps with RubyMotion

Learn how to build Mac apps with using Ruby with this ebook, currently in early access, and with the finished version coming soon.