Summary
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.
Written for Rubyists. No experience with Cocoa, Objective-C, or Mac OS X required.
Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.
What's InsideIntro to Mac OS X developmentFull coverage of the Cocoa frameworkMacRuby for iOS
Table of Contents
PART 1 STARTING WITH MACRUBYIntroducing MacRubyUsing Macirb and the Apple development toolsGoing beyond the basics with Xcode Interface BuilderPART 2 TAKE IT FOR A SPINUsing the delegate patternNotifications and implementing the observer patternUsing key-value coding and key-value observingImplementing persistence with Core DataCore Animation basicsPART 3 MACRUBY EXTRASHotCocoaMacRuby testingMacRuby and the Mac App Store
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.
Written for Rubyists. No experience with Cocoa, Objective-C, or Mac OS X required.
Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.
What's InsideIntro to Mac OS X developmentFull coverage of the Cocoa frameworkMacRuby for iOS
Table of Contents
PART 1 STARTING WITH MACRUBYIntroducing MacRubyUsing Macirb and the Apple development toolsGoing beyond the basics with Xcode Interface BuilderPART 2 TAKE IT FOR A SPINUsing the delegate patternNotifications and implementing the observer patternUsing key-value coding and key-value observingImplementing persistence with Core DataCore Animation basicsPART 3 MACRUBY EXTRASHotCocoaMacRuby testingMacRuby and the Mac App Store