图书标签: Objective-C iOS 编程 iOS进阶 Effective 软件开发 Programming 计算机
发表于2024-11-05
Effective Objective-C 2.0 pdf epub mobi txt 电子书 下载 2024
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
Matt Galloway,资深软件开发工程师,精通移动应用程序的开发与设计,毕业于英国剑桥大学,咨询公司Swipe Stack Ltd.的创始人。经常在Stack Overflow网站(stackoverflow.com)上回答与Objective-C、iOS和Mac编程相关的问题,经验非常丰富。
粗看了一遍
评分实在是个无聊又奇怪的语言
评分深一点的 Objective-C 的好书并不多,这本还不错。读完了算是一个阶段的梳理和总结。自己试着翻译了 3 章,发现中文版出了后就有点泄气了。看豆瓣上中文版的书评,大伙对翻译质量有些意见。再结合自己的经历。翻译一本书,即使是语言浅显的计数书籍也并不容易,需要用心和精力。
评分Effective系的书,不用解释!好吧,解释一句:不看《Effective》不要写代码。
评分nice
因为是从 Swift 开始学习 iOS 开发的,已经被 Swift 优雅简洁的语法惯得不成样子了。所以在第一次看到 Objective-C 代码的时候的第一个反映就是,这什么鬼啊,怎么会有这样的语言:长长的方法名,散落一地的方括号,简直不忍卒读。不过,凡事都有一个过程,当慢慢地用 Object...
评分一开始要买这本书,我是拒绝的,因为你们都说翻译差,所以我去C某DN下载了英文原版,还带书签。看了几页之后发现,卧槽!这么棒的书必须买实体书收藏啊!!但是原版书亚马逊400+的价格真的╮(╯-╰)╭,所以就买本中文版吧,毕竟中文看着也快嘛。。。。。 拿到货之后我就呵呵了...
评分笔记 2.在类的头文件中尽量少引用其他头文件 1.尽量使用向前声明@class 2.委托协议直接写在类中 3.公共协议抽写成单独文件 4.在分类中引用协议 3.多使用字面量语法 1.常量 @"abc" @1 @1.2f @YES @'a' @(x+y) 2.数组 @[@"one",@"two",@"three"] 3.字典 @{@"firstnam...
评分笔记 2.在类的头文件中尽量少引用其他头文件 1.尽量使用向前声明@class 2.委托协议直接写在类中 3.公共协议抽写成单独文件 4.在分类中引用协议 3.多使用字面量语法 1.常量 @"abc" @1 @1.2f @YES @'a' @(x+y) 2.数组 @[@"one",@"two",@"three"] 3.字典 @{@"firstnam...
评分很多技巧其实并不仅仅是Obj-C的,而是写程序通用的,就比如forward declaration在Google C++ Style里也提过。Reference Counting也是老生常谈,古老的Java都有这个卖点。 从作者对每一个技巧的解释来看,其真的很了解Obj-C。Obj-C不像C有很多经典书籍,大多数都是言其然不言其...
Effective Objective-C 2.0 pdf epub mobi txt 电子书 下载 2024