Cocoa Design Patterns (Paperback)
暫譯: Cocoa 設計模式 (平裝本)

Erik Buck, Donald Yacktman

  • 出版商: Addison Wesley
  • 出版日期: 2009-09-01
  • 售價: $1,700
  • 貴賓價: 9.5$1,615
  • 語言: 英文
  • 頁數: 456
  • 裝訂: Paperback
  • ISBN: 0321535022
  • ISBN-13: 9780321535023
  • 相關分類: Design Pattern
  • 立即出貨(限量) (庫存=1)

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

相關主題

商品描述

“Next time some kid shows up at my door asking for a code review, this is the book that I am going to throw at him.”

 

–Aaron Hillegass, founder of Big Nerd Ranch, Inc., and author of Cocoa Programming for Mac OS X

 

Unlocking the Secrets of Cocoa and Its Object-Oriented Frameworks

 

Mac and iPhone developers are often overwhelmed by the breadth and sophistication of the Cocoa frameworks. Although Cocoa is indeed huge, once you understand the object-oriented patterns it uses, you’ll find it remarkably elegant, consistent, and simple.

 

Cocoa Design Patterns begins with the mother of all patterns: the Model-View-Controller (MVC) pattern, which is central to all Mac and iPhone development. Encouraged, and in some cases enforced by Apple’s tools, it’s important to have a firm grasp of MVC right from the start.

 

The book’s midsection is a catalog of the essential design patterns you’ll encounter in Cocoa, including

  • Fundamental patterns, such as enumerators, accessors, and two-stage creation
  • Patterns that empower, such as singleton, delegates, and the responder chain
  • Patterns that hide complexity, including bundles, class clusters, proxies and forwarding, and controllers

And that’s not all of them! Cocoa Design Patterns painstakingly isolates 28 design patterns, accompanied with real-world examples and sample code you can apply to your applications today. The book wraps up with coverage of Core Data models, AppKit views, and a chapter on Bindings and Controllers.

 

Cocoa Design Patterns clearly defines the problems each pattern solves with a foundation in Objective-C and the Cocoa frameworks and can be used by any Mac or iPhone developer.

商品描述(中文翻譯)

“下次有小孩來我家要求代碼審查時,我會把這本書丟給他。”

– Aaron Hillegass,Big Nerd Ranch, Inc. 的創辦人,以及《Cocoa Programming for Mac OS X》的作者

**解鎖 Cocoa 及其物件導向框架的秘密**

Mac 和 iPhone 開發者常常被 Cocoa 框架的廣度和複雜性所壓倒。雖然 Cocoa 確實龐大,但一旦你理解它所使用的物件導向模式,你會發現它非常優雅、一致且簡單。

《Cocoa Design Patterns》以所有模式之母開始:模型-視圖-控制器(MVC)模式,這是所有 Mac 和 iPhone 開發的核心。這一模式受到 Apple 工具的鼓勵,甚至在某些情況下是被**強制**執行的,因此從一開始就牢牢掌握 MVC 是非常重要的。

本書的中間部分是你在 Cocoa 中會遇到的基本設計模式的目錄,包括:

- 基本模式,如列舉器、存取器和兩階段創建
- 賦能模式,如單例、委派和響應者鏈
- 隱藏複雜性的模式,包括包、類別集群、代理和轉發,以及控制器

而這還不是全部!《Cocoa Design Patterns》仔細挑選了 28 種設計模式,並附有現實世界的範例和你今天可以應用於應用程式的範例代碼。本書最後涵蓋了 Core Data 模型、AppKit 視圖,以及一章關於綁定和控制器的內容。

《Cocoa Design Patterns》清楚定義了每個模式所解決的問題,並以 Objective-C 和 Cocoa 框架為基礎,任何 Mac 或 iPhone 開發者都可以使用。