欢迎来到相识电子书!
标签:iOS进阶
-
Effective Objective-C 2.0
Write Truly Great iOS and OS X Code with Objective-C 2.0! 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
热门标签
下载排行榜
- 1 梦的解析:最佳译本
- 2 李鸿章全传
- 3 淡定的智慧
- 4 心理操控术
- 5 哈佛口才课
- 6 俗世奇人
- 7 日瓦戈医生
- 8 笑死你的逻辑学
- 9 历史老师没教过的历史
- 10 1分钟和陌生人成为朋友