MacRuby in Action is a tutorial for Ruby developers who want to code for Mac OS X without learning Objective-C. You'll learn the ins and outs of the MacRuby language, including straightforward examples of creating OS X applications using Cocoa components.
About the Technology
For Rubyists, it's a real drag switching to a static language like Objective-C for Mac development. Fortunately, you don't have to. MacRuby is a Ruby 1.9 implementation that sits right on the Mac OS X core. It gives you access to the Cocoa framework and easy interoperability with the Mac platform.
About the Book
MacRuby in Action teaches Ruby developers how to code OS X applications in Ruby. You'll explore key Cocoa design patterns, along with a few twists that MacRuby makes possible. You'll also pick up high-value techniques including system scripting, automated testing practices, and getting your apps ready for the Mac App Store.
- Intro to Mac OS X development
- Full coverage of the Cocoa framework
- Submitting to the Mac App Store
About the Reader
Written for Rubyists. No experience with Cocoa, Objective-C, or Mac OS X required.
About the Author
Brendan G. Lim is a professional Ruby and Objective-C developer specializing in Rails and mobile development. Jerry Cheung is a Rails engineer working with emerging technologies like MacRuby and Node.js. Jeremy McAnally is a web and mobile developer and coauthor of Ruby in Practice.
An excellent bridge from the world of Ruby to the world of OS X.
- Philip Hallstrom, PJKH
A great way to turn your Ruby skills into creating real Mac desktop apps.
- Alex Vollmer, Radiant Capsule
...quickly learn how to write native OS X applications using Ruby...an excellent primer.
- Adam Bair, Intridea
Table of contents
- Brief Table of Contents
- Table of Contents
- About this Book
- About the Authors
- About the Cover Illustration
- Part 1. Starting with MacRuby
- Chapter 1. Introducing MacRuby
- Chapter 2. Using Macirb and the Apple development tools
- Chapter 3. Going beyond the basics with Xcode Interface Builder
- Part 2. Take it for a Spin
- Chapter 4. Using the delegate pattern
- Chapter 5. Notifications and implementing the observer pattern
- Chapter 6. Using key-value coding and key-value observing
- Chapter 7. Implementing persistence with Core Data
- Chapter 8. Core Animation basics
- Part 3. MacRuby Extras
- Chapter 9. HotCocoa
- Chapter 10. MacRuby testing
- Chapter 11. MacRuby and the Mac App Store
- Appendix A. Scripting with MacRuby
- List of Figures
- List of Tables
- List of Listings
- Title: MacRuby in Action
- Release date: April 2012
- Publisher(s): Manning Publications
- ISBN: 9781935182498
You might also like
Cocoa in a Nutshell
Cocoa® is more than just a collection of classes, and is certainly more than a simple …
Ruby Under a Microscope
Ruby Under a Microscope gives developers an inside, hands-on look at Ruby's core, using simple diagrams …
Sams Teach Yourself the Twitter API in 24 Hours
The hands-on, step-by-step guide to building Twitter apps and integrating Twitter into existing sites, services, and …
Sams Teach Yourself Mac OS® X Lion™ App Development in 24 Hours
In just 24 sessions of one hour or less, you can master Mac OS X Lion …