MacRuby: The Definitive Guide: Ruby and Cocoa on OS X (Paperback)

Matt Aimonetti

  • 出版商: O'Reilly
  • 出版日期: 2011-12-06
  • 定價: $1,320
  • 售價: 6.0$792
  • 語言: 英文
  • 頁數: 246
  • 裝訂: Paperback
  • ISBN: 1449380379
  • ISBN-13: 9781449380373
  • 相關分類: Ruby
  • 立即出貨 (庫存 < 3)

買這商品的人也買了...

商品描述

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

商品描述(中文翻譯)

想要使用一個時尚且開發者友善的替代語言來建立原生的 Mac OS X 應用程式嗎?MacRuby 是一個理想的選擇。這本深入的指南向您展示了蘋果對 Ruby 的實現,讓您可以使用所有可用於 Objective-C 程式設計師的功能。您將獲得有關 MacRuby 的清晰且詳細的解釋,包括快速的程式設計技巧,例如原型製作。

這本書非常適合任何程式設計師,內容豐富,包含了代碼示例和完整的專案範例。如果您使用 Ruby,您可以利用您的技能來使用 Interface Builder、Cocoa 函式庫、Objective-C 執行時等功能。如果您是 Cocoa 開發者,您將學習如何透過 MacRuby 提高生產力。

本書涵蓋了 MacRuby 的基礎知識,包括類別和方法的使用方法。您將學習如何在蘋果的 Xcode 開發套件中使用 MacRuby。此外,您還將深入研究 Foundation Kit 中的原始物件類別和資料類型。您將使用 AppKit 框架建立事件驅動的使用者介面,並使用 Core Data 框架處理關聯物件持久化。您還將學習使用 MacRuby 的高級技巧,包括並行處理和沙箱技術。書中還提供了使用 Twitter 和位置網路服務的應用程式範例,以及將 MacRuby 嵌入現有 Objective-C 應用程式的示例。