Cocoa Design Patterns (Paperback)

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》從所有模式中最重要的模式開始:Model-View-Controller (MVC) 模式,這是所有 Mac 和 iPhone 開發的核心。在 Apple 的工具的鼓勵和某些情況下的強制下,從一開始就對 MVC 有牢固的掌握非常重要。

本書的中間部分是 Cocoa 中你會遇到的基本設計模式目錄,包括:
- 基本模式,如枚舉器、存取器和兩階段創建
- 賦予權力的模式,如單例、委派和響應鏈
- 隱藏複雜性的模式,包括束、類群、代理和轉發,以及控制器

這還不是全部!《Cocoa Design Patterns》精心選取了 28 個設計模式,並附有實際案例和樣本程式碼,你可以立即應用到你的應用程式中。本書以 Core Data 模型、AppKit 視圖和一章關於綁定和控制器的內容作為結尾。

《Cocoa Design Patterns》清楚地定義了每個模式在 Objective-C 和 Cocoa 框架中解決的問題,適用於任何 Mac 或 iPhone 開發者。