Cocoa® Programming for Mac® OS X (英語) ペーパーバック – 2008/5/5
Kindle 端末は必要ありません。無料 Kindle アプリのいずれかをダウンロードすると、スマートフォン、タブレットPCで Kindle 本をお読みいただけます。
The best-selling introduction to Cocoa, once again updated to cover the latest Mac programming technologies, and still enthusiastically recommended by experienced Mac OS X developers.
“Aaron’s book is the gold standard for Mac OS X programming books—beautifully written, and thoughtfully sculpted. The best book on Leopard development.”
—Scott Stevenson, www.theocacao.com
“This is the first book I’d recommend for anyone wanting to learn Cocoa from scratch. Aaron’s one of the few (perhaps only) full-time professional Cocoa instructors, and his teaching experience shows in the book.”
—Tim Burks, software developer and creator of the Nu programming language, www.programming.nu
“If you’re a UNIX or Windows developer who picked up a Mac OS X machine recently in hopes of developing new apps or porting your apps to Mac users, this book should be strongly considered as one of your essential reference and training tomes.”
—Kevin H. Spencer, Apple Certified Technical Coordinator
If you’re developing applications for Mac OS X, Cocoa® Programming for Mac® OS X, Third Edition, is the book you’ve been waiting to get your hands on. If you’re new to the Mac environment, it’s probably the book you’ve been told to read first. Covering the bulk of what you need to know to develop full-featured applications for OS X, written in an engaging tutorial style, and thoroughly class-tested to assure clarity and accuracy, it is an invaluable resource for any Mac programmer.
Specifically, Aaron Hillegass introduces the three most commonly used Mac developer tools: Xcode, Interface Builder, and Instruments. He also covers the Objective-C language and the major design patterns of Cocoa. Aaron illustrates his explanations with exemplary code, written in the idioms of the Cocoa community, to show you how Mac programs should be written. After reading this book, you will know enough to understand and utilize Apple’s online documentation for your own unique needs. And you will know enough to write your own stylish code.
Updated for Mac OS X 10.4 and 10.5, this revised edition includes coverage of Xcode 3, Objective-C 2, Core Data, the garbage collector, and CoreAnimation.
Aaron Hillegas runs Big Nerd Ranch, well-known for its popular Cocoa programming classes. Previously, he was a developer at NeXT and Apple. At Next, he wrote the first course on OpenStep, the predecessor to today's Cocoa tools. At Apple, he created and taught courses in Cocoa directly for and to Apple engineers. This book is based on Aaron's Big Nerd Ranch course and is influenced by 15 years of work with OpenStep and Cocoa.
Xcode の環境,およびCocoaとInterface Builder の使い方はわかります。
"Cocoa Programing for Mac OSX" をまだ半分読んだだけですが、次のことが氷解しました。
＊Key-Value codingとBinding の違いとその関係
＊Controller ObjectとtableView contents内のobject 間を、IB(Interface Builder) を使用したリンクのはり方。その方向であるとか、エラーが出た場合に考えられる原因を筆者はこと細かく説明をくわえていて、図も分かりやす...続きを読む ›
Amazon.com で最も参考になったカスタマーレビュー (beta)
However, I didn't look for a book about everything, but one explicitly focused on specifics of programming using Cocoa environment on Mac OS X and this goal this book fulfills very purely or let's say it offers just a shallow insight into it. Why in a book about Cocoa programming there are 11 pages talking about iOS programming and loads of stuff related to Objective-C internals instead of in-deep explanation of Cocoa system and its parts itself?
Although it reflects some new stuff, like view-based table views, it ignores other important and most interesting aspects. Except others, auto layout system introduced in OS X Lion - the stuff every iOS/OS X developer I know is struggling with and would need some comprehensive guide how to master it.
It really looks like rather random compilation of BNR lectures than book written with focus on its particular theme. More to that, with structure of chapters according to some nonsense logic - wondering here if it's editor's work or authors themselfs.
As an iOS developer which started to develop for OS X and is looking for good and comprehensive learning material, I'm really disappointed. I didn't learn anything new I couldn't find in Apple's documentation and guides, except some details (important ones must be said!).
Conclusion: I didn't get what I was looking for and definitely it doesn't worth the sky-high price.
As others have mentioned, its pretty easy to grok and recover from the typos and skipped instructions if you're already experienced in Obj-C and Cocoa programming, but I'm not so sure that would be true for anyone that's trying to use this as a starter book...which is what it's supposed to be. This used to be the "go-to" book for the first-time OSX programmer; I wouldn't recommend this until it undergoes a serious rewrite.
For anyone struggling with the deprecated OpenGL glut methods in Chapter 35...set your Deployment Target to 10.8.
Alas, this book didn't live up to my expectations. It covers all the right topics, but the programming examples are not particularly useful and it's not clear how one could extend them to other situations. Some concepts though covered are left under explained (like MVC and delegates). Key methods are thrown out list-like in places, with no obvious pointers to how or where they are to be implemented. In other cases, fancy tricks are pulled off by getting the reader to basically copy loads of code, but why or how those methods are being implemented is not really clear. If the author's weren't leading you by the hand, you'd have no idea how they came up with those solutions, and that really encapsulates the problems with the book as a whole: it demonstrates, but doesn't empower.
I don't think this is the author's fault, more amazon's i guess.
The second point is still about those code samples, *this is a personal taste*, but I think they take too much importance in the book: they are more like mini-projects than code samples actually; and when you have both to understand the new concept they are meant to illustrate plus understand the intent of the project itself, it becomes really difficult when you are not familiar with both.
Overall this book covers a lot of topics, and the code issue aside, the text is nice to read.
It's a good choice if you're looking for lots of concrete examples.
My only complaint is the book is more of a tutorial/introduction than a reference. The authors present a subject and give a very quick demonstration. It'd be nice if they went over the other configuration options or showed on-screen examples. All stuff you can figure out your own by experimenting of course.
Some things aren't covered like the NSToolbar but I guess you can't pack everything in one book. There is an OpenGL example which you won't find in most other introductory Cocoa books though. Also, most chapters also have a couple challenges at the end which is nice.
- 洋書 > Computers & Technology > Apple > Development & Programming > Cocoa
- 洋書 > Computers & Technology > Apple > Development & Programming > OSX Development
- 洋書 > Computers & Technology > Apple > Home Computing & How-to > OS X
- 洋書 > Computers & Technology > Programming > Languages & Tools
- 洋書 > Education & Reference