Programming Cocoa with Ruby: Create Compelling Mac Apps Using RubyCocoa (Paperback)

Brian Marick

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2009-08-20
  • 定價: $1,225
  • 售價: 1.6$199
  • 語言: 英文
  • 頁數: 300
  • 裝訂: Paperback
  • ISBN: 1934356190
  • ISBN-13: 9781934356197
  • 相關分類: Ruby
  • 立即出貨



This is a book for the Ruby programmer who's never written a Mac app before. Through this hands-on tutorial, you'll learn all about the Cocoa framework for programming on Mac OS X. Join the author's journey as this experienced Ruby programmer delves into the Cocoa framework right from the beginning, answering the same questions and solving the same problems that you'll face.

Together you'll build a single application that threads throughout the book, and it's not a toy. You'll cover topics that may not be the flashiest parts of Cocoa, but they're ones you'll need to know to create robust, feature-rich applications for yourself. And you'll learn more than just Cocoa and RubyCocoa, you'll get first-hand effective agile development practices. You'll see test-first development of user-interface code, little domain-specific languages that take advantage of Ruby features, and other Rubyish tricks.

At the end of the book, you'll be ready to write a real Mac OS X application that can be distributed to real users.


這是一本針對從未撰寫過 Mac 應用程式的 Ruby 程式設計師的書籍。透過這個實作教學,您將學習有關在 Mac OS X 上進行程式設計的 Cocoa 框架的所有知識。作者將帶領您從頭開始深入研究 Cocoa 框架,回答您將面臨的相同問題並解決相同的問題。

您將一起建立一個貫穿整本書的應用程式,而這不是一個玩具。您將涵蓋的主題可能不是 Cocoa 最引人注目的部分,但這些是您需要了解的,以便為自己創建強大且功能豐富的應用程式。而且,您將學習的不僅僅是 Cocoa 和 RubyCocoa,還將獲得第一手的有效敏捷開發實踐。您將看到使用者介面程式碼的測試優先開發、利用 Ruby 功能的小型領域特定語言以及其他 Rubyish 技巧。

在本書結束時,您將準備好撰寫一個真正的 Mac OS X 應用程式,可以分發給真實使用者。