MacRuby: The Definitive Guide

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 methods
  • Learn how to use MacRuby with Apple’s Xcode developer suite
  • Delve into the primitive object classes and data types in Foundation Kit
  • Build event-driven user interfaces with the AppKit framework
  • Handle relational object persistence with the Core Data framework
  • Use advanced MacRuby techniques, including concurrency and sandboxing
  • Get examples for applications using Twitter and a location web service
  • Embed MacRuby into existing Objective-C applications

Table of Contents
Chapter 1 Introduction
Chapter 2 Fundamentals
Chapter 3 The Cocoa Environment
Chapter 4 Foundation
Chapter 5 Application Kit
Chapter 6 Xcode
Chapter 7 Core Data
Chapter 8 One Step Deeper
Chapter 9 Address Book Example
Chapter 10 Geolocation
Chapter 11 MacRuby in Objective-C Projects
Chapter 12 Objective-C Code in MacRuby Apps
Chapter 13 Using Ruby Third-Party Libraries

Book Details

  • Paperback: 244 pages
  • Publisher: O’Reilly Media (October 2011)
  • Language: English
  • ISBN-10: 1449380379
  • ISBN-13: 978-1449380373
Download [15.2 MiB]

You may also like...

Leave a Reply