MacRuby: The Definitive Guide
Ruby and Cocoa on OS X
This book is available for download with iBooks on your Mac or iOS device, and with iTunes on your computer. Books can be read with iBooks on your Mac or iOS device.
Want to build native Mac OS X applications with a sleek, developer-friendly alternative to Objective-C? MacRuby is an ideal choice. This in-depth guide shows you how Apple’s implementation of Ruby gives you access to all the features available to Objective-C programmers. You’ll get clear, detailed explanations of MacRuby, including quick programming techniques such as prototyping.
Perfect for programmers at any level, this book is packed with code samples and complete project examples. If you use Ruby, you can tap your skills to take advantage of Interface Builder, Cocoa libraries, the Objective-C runtime, and more. If you’re a Cocoa developer, you’ll learn how to improve your productivity with MacRuby.
Get up to speed on MacRuby basics, including classes and methodsLearn how to use MacRuby with Apple’s Xcode developer suiteDelve into the primitive object classes and data types in Foundation KitBuild event-driven user interfaces with the AppKit frameworkHandle relational object persistence with the Core Data frameworkUse advanced MacRuby techniques, including concurrency and sandboxingGet examples for applications using Twitter and a location web serviceEmbed MacRuby into existing Objective-C applications