Objective-C Programming - Aaron Hillegass, Mikey Ward

Objective-C Programming

Aaron Hillegass, Mikey Ward

出版时间

2013-11-18

ISBN

9780321942067

评分

★★★★★
书籍介绍
Want to write iOS apps or desktop Mac applications? This introduction to programming and the Objective-C language is your first step on the journey from someone who uses apps to someone who writes them. Based on Big Nerd Ranch's popular Objective-C Bootcamp, Objective-C Programming: The Big Nerd Ranch Guide covers C, Objective-C, and the common programming idioms that enable developers to make the most of Apple technologies. Compatible with Xcode 5, iOS 7, and OS X Mavericks (10.9), this guide features short chapters and an engaging style to keep you motivated and moving forward. At the same time, it encourages you to think critically as a programmer. Here are some of the topics covered: Using Xcode, Apple’s documentation, and other tools Programming basics: variables, loops, functions, etc. Objects, classes, methods, and messages Pointers, addresses, and memory management with ARC Properties and Key-Value Coding (KVC) Class extensions Categories Classes from the Foundation framework Blocks Delegation, target-action, and notification design patterns Key-Value Observing (KVO) Runtime basics
AI导读
核心看点
  • 源自知名培训营,风格幽默亲切,适合零基础入门。
  • 从C语言基础讲起,循序渐进过渡到Objective-C核心语法。
  • 涵盖内存管理、运行时机制及iOS 7开发,注重实战思维。
适合谁读
  • 毫无编程经验,希望从零开始学习iOS或Mac应用开发的新手。
  • 具备C语言基础,想快速掌握Objective-C语法特性的开发者。
  • 需要系统梳理OC知识体系,巩固基础并查漏补缺的初学者。
读前提醒
  • 有编程经验的读者可跳过C语言基础章节,直接阅读OC部分。
  • 内容偏重入门引导,深度有限,进阶者建议搭配官方文档阅读。
  • 建议配合Xcode环境动手敲代码,避免“读完就忘”的现象。
读者共识
  • 被公认为Objective-C最佳入门书,逻辑清晰,通俗易懂。
  • 讲解全面但点到为止,适合新手建立概念,老手复习基础。
  • 部分读者认为内容较浅,有经验者可能觉得简单或略显啰嗦。

本导读基于书籍简介、目录、原文摘录、短评和书评生成,不等同于全文精读。

精彩摘录
  • "随着年龄的增长,能难倒成年人的事情会少很多,不是因为成年人知道一切,而是因为成年人会选择避开那些自己不了解的事物。"
  • "编写本书时,作者的儿子 Otto 只有 6 岁。Otto 每天都会遇到几件让其困惑不解,倍感挫折的事情。Otto 不停地吸收新知识,替换旧的固有思维。这类事情频繁发生,但 Otto 不会半途而废,停下来想“好难啊,是不是应该把这本书扔掉?” 随着年龄的增长,能难倒成年人的事情会少很多。不是因为成年人知道一切,而是因为成年人会选择避开那些自己不了解的事物。例如,阅读关于历史的书籍是轻松愉快的,因为只需要借助现有的知识即可。这属于轻松类型的学习。"
  • "For example, what happens when we destroy the parent view? The reference from the subview to the parent would no longer be valid. In fact, trying to reference that non-existent parent view could cause the application to crash."
  • "当程序将索引为5的BNREmployee对象移出数组时,会因为该对象不再有拥有方而将其释放。其包含的所有BNRAsset对象也会因为没有拥有方而被释放。"
作者简介
Aaron Hillegass, a former employee at NeXT and Apple, has nearly two decades experience programming and teaching Objective-C, Cocoa, and, more recently, iOS. Aaron is the author of Cocoa Programming for Mac OS X and co-author of iOS Programming: The Big Nerd Ranch Guide. Both best-sellers, these books have helped many people develop and enhance their programming skills. In 2001, Aaron founded Big Nerd Ranch and began developing intensive courses that teach programming in a focused, distraction-free environment. He is currently working on site plans and blueprints for the new Ranch to be located in Atlanta, GA. Mikey Ward is a senior iOS and Cocoa instructor at Big Nerd Ranch. Mikey also convenes the Atlanta chapter of CocoaHeads, a worldwide group devoted to discussion of Apple's frameworks for writing Mac and iOS applications. Big Nerd Ranch is a unique software engineering and training company where monastic principles drive technological development. Since 2001, the company has been helping students master programming languages through public enrollment bootcamps, private corporate on-site training, and a growing roster of programming books. Big Nerd Ranch offers consultative services to a broad array of clients, shaping their mobile strategies and developing fresh and engaging mobile and desktop applications.
用户评论
先讲C,再过渡到Objective C,后面还有讲解Objective C的运行时。在完整讲解的基础上,注重在实际使用的问题。
太简单了,有些经验的开发者不用在这本上浪费时间了
复习,不过书不错
通俗易懂,读完就忘。objective-c是个难受的语言。
写的很好,英文版看起来也很流畅
又翻阅了第二版的英文版pdf,如此逻辑清晰的oc教程也真是美到家了,不过我是拿来当原版书学英文了。。
简洁明晰,一如既往
有些啰嗦
这书当真是适合零基础。 如果你不会“OOP”,那么你还是不会OOp的精髓,如果你不会PL,那么你还是不会PL,如果你不能理解编程的一些根本概念——比如递归,那么你还是不能较好的理解递归。 读的,看的,理解的东西更多之后,之前有的书需要加分,有的却需要降分,就先这样吧
收藏