Effective Objective-C 2.0: 52 Specific Ways to Improve Your iOS and OS X Programs (Paperback)
暫譯: 有效的 Objective-C 2.0:52 種具體方法提升您的 iOS 和 OS X 程式
Matt Galloway
- 出版商: Addison Wesley
- 出版日期: 2013-05-26
- 售價: $1,860
- 貴賓價: 9.5 折 $1,767
- 語言: 英文
- 頁數: 320
- 裝訂: Paperback
- ISBN: 0321917014
- ISBN-13: 9780321917010
-
相關分類:
Apple Developer
-
相關翻譯:
Effective Objective-C 2.0 中文版-改善 iOS 與 OS X 程式的 52 個具體做法 (Effective Objective-C 2.0) (繁中版)
買這商品的人也買了...
-
$990$891 -
$620$490 -
$820$648 -
$780$663 -
$520$411 -
$680$537 -
$580$458 -
$950$751 -
$1,920$1,824 -
$680$537 -
$360$324 -
$580$452 -
$480$408 -
$1,130$961 -
$400$380 -
$480$408 -
$360$284 -
$580$493 -
$450$356 -
$360$281 -
$940$700 -
$480$408 -
$280$252 -
$580$458 -
$680$578
相關主題
商品描述
Effective Objective-C 2.0 will help you harness all of Objective-C’s expressive power to write OS X or iOS code that works superbly well in production environments. Using the concise, scenario-driven style pioneered in Scott Meyers’ best-selling Effective C++, Matt Galloway brings together 52 Objective-C best practices, tips, shortcuts, and realistic code examples that are available nowhere else.
Through real-world examples, Galloway uncovers little-known Objective-C quirks, pitfalls, and intricacies that powerfully impact code behavior and performance. You’ll learn how to choose the most efficient and effective way to accomplish key tasks when multiple options exist, and how to write code that’s easier to understand, maintain, and improve. Galloway goes far beyond the core language, helping you integrate and leverage key Foundation framework classes and modern system libraries, such as Grand Central Dispatch.
Coverage includes
- Optimizing interactions and relationships between Objective-C objects
- Mastering interface and API design: writing classes that feel “right at home”
- Using protocols and categories to write maintainable, bug-resistant code
- Avoiding memory leaks that can still occur even with Automatic Reference Counting (ARC)
- Writing modular, powerful code with Blocks and Grand Central Dispatch
- Leveraging differences between Objective-C protocols and multiple inheritance in other languages
- Improving code by more effectively using arrays, dictionaries, and sets
- Uncovering surprising power in the Cocoa and Cocoa Touch frameworks
商品描述(中文翻譯)
用 Objective-C 2.0 寫出真正優秀的 iOS 和 OS X 代碼!
有效的 Objective-C 2.0 將幫助您充分利用 Objective-C 的表達能力,編寫在生產環境中表現出色的 OS X 或 iOS 代碼。使用 Scott Meyers 的暢銷書《有效的 C++》所開創的簡潔、情境驅動風格,Matt Galloway 彙集了 52 個 Objective-C 最佳實踐、技巧、捷徑和現實代碼範例,這些內容在其他地方無法找到。
通過真實世界的範例,Galloway 揭示了不為人知的 Objective-C 特性、陷阱和複雜性,這些都會強烈影響代碼的行為和性能。您將學會在存在多種選擇時,如何選擇最有效和高效的方式來完成關鍵任務,以及如何編寫更易於理解、維護和改進的代碼。Galloway 不僅僅停留在核心語言,還幫助您整合和利用關鍵的 Foundation 框架類別和現代系統庫,例如 Grand Central Dispatch。
涵蓋內容包括:
- 優化 Objective-C 對象之間的互動和關係
- 精通介面和 API 設計:編寫感覺“如魚得水”的類別
- 使用協議和類別擴展來編寫可維護、抗錯誤的代碼
- 避免即使在自動引用計數(ARC)下仍可能發生的內存洩漏
- 使用 Blocks 和 Grand Central Dispatch 編寫模組化、強大的代碼
- 利用 Objective-C 協議與其他語言中的多重繼承之間的差異
- 通過更有效地使用數組、字典和集合來改善代碼
- 發現 Cocoa 和 Cocoa Touch 框架中的驚人力量