Book description
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.
What's Inside
- 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.
Quotes
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
Publisher resources
Table of contents
- Copyright
- Brief Table of Contents
- Table of Contents
- Preface
- Acknowledgments
- 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
- Index
- List of Figures
- List of Tables
- List of Listings
Product information
- Title: MacRuby in Action
- Author(s):
- Release date: April 2012
- Publisher(s): Manning Publications
- ISBN: 9781935182498
You might also like
book
Cocoa in a Nutshell
Cocoa® is more than just a collection of classes, and is certainly more than a simple …
book
Ruby Under a Microscope
Ruby Under a Microscope gives developers an inside, hands-on look at Ruby's core, using simple diagrams …
book
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 …
book
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 …