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

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

Jan 04, 2014 - Elliott Draper

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 that happen into its own little gem to make it easier for you to use in your own apps. The panel and the background custom drawing code is part of the gem, allowing you to easily instantiate and show a window underneath your own status bar item, and also allowing you to configure some of the parameters used for drawing the panel to customise it.

You can check out the code for it here, and read up on usage and customisation here.

I’d also like to thank everyone that has subscribed to be notified about my upcoming RubyMotion Mac OS X apps book, Building Mac OS X apps with RubyMotion. The support and interest has been overwhelming and has really reinforced my motivation to make the book a really useful resource for developers who want to build Mac OS X apps with RubyMotion.

If you’ve not yet signed up to know when the pre-order is available, you can do so here or at the bottom of this post - and if you’re on the fence about whether it’d be useful, the recent tutorials I’ve written on using RubyMotion to create Mac OS X apps will give you a flavour of what the content will be like. Don’t forget that if you subscribe now, you’ll get an exclusive discount on pre-ordering the book too when the time comes!

Here are the Mac OS X RubyMotion tutorials from late last year in order - there is more to come over the next few months!

If you have any questions about the new gem, the recent tutorials, or the forthcoming book, please get in touch in the comments below or @KickCode on Twitter. Look out for the next tutorial article soon, and I hope 2014 is off to a great start for everyone!

Available now in early access: Building Mac OS X apps with RubyMotion!

Unlock the power of Ruby in your Mac OS X apps to build everything from utility and productivity apps, to developer tools and helpers, to fully fledged desktop user interfaces. You'll integrate with web APIs, with core system functions, learn powerful ways to build user interfaces, and more. You'll learn how to best structure your apps and to take advantage of the Ruby syntax to make your development more efficient than building the app in Objective-C.

Learn more or purchase now.

blog comments powered by Disqus
Back to blog

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.