- Series: Big Nerd Ranch Guides
- Paperback: 556 pages
- Publisher: Big Nerd Ranch Guides; 5 edition (April 24, 2015)
- Language: English
- ISBN-10: 0134076958
- ISBN-13: 978-0134076959
- Product Dimensions: 6.9 x 1.5 x 9.9 inches
- Shipping Weight: 4.9 pounds (View shipping rates and policies)
- Average Customer Review: 4.1 out of 5 stars See all reviews (45 customer reviews)
- Amazon Best Sellers Rank: #335,491 in Books (See Top 100 in Books)
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Cocoa Programming for OS X: The Big Nerd Ranch Guide (5th Edition) (Big Nerd Ranch Guides) 5th Edition
Use the Amazon App to scan ISBNs and compare prices.
See the Best Books of the Month
Want to know our Editors' picks for the best books of the month? Browse Best Books of the Month, featuring our favorite new books in more than a dozen categories.
Frequently bought together
Customers who bought this item also bought
About the Author
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 co-author of Objective-C Programming: The Big Nerd Ranch Guide and iOS Programming: The Big Nerd Ranch Guide. In 2001, Aaron founded Big Nerd Ranch and began developing intensive courses that teach programming in a focused, distraction-free environment. Big Nerd Ranch now offers courses around the world as well as consulting and software development.
Adam Preble learned Cocoa programming from the first edition of this book and after ten years in the software industry, joined Big Nerd Ranch to write Mac and iOS software as a consultant. He presently leads engineering at Big Nerd Ranch and steals away time for Cocoa programming and for teaching the Cocoa bootcamp course, on which this book is based.
Nate Chandler is an instructor and senior software engineer at Big Nerd Ranch, where he helps maintain the Cocoa bootcamp course materials. Nate studied mathematics at the New College of Florida and applies the logical rigor he learned in that arena to his programming. An avid C++ enthusiast, Nate reads draft feature proposals for the standard as often as he can.
If you are a seller for this product, would you like to suggest updates through seller support?
Top Customer Reviews
I am coming from an iOS programming background so a lot of the material is similar to that, but when you get to bindings prepare yourself for a completely different paradigm.
Cannot recommend this book highly enough! Good job guys!
The text information provided is useful though, especially considering Cocoa's convolutions, but not exceptional. Unfortunately there aren't a lot of alternatives at present so proceed at your own risk.
The format of this book is modular, with many modules dependent on previous ones. I read it cover to cover, and followed along with the exercises, which can be a little tricky as Swift has changed in many ways from version 1 to 2. Errata are published in a couple of places, with the most robust at https://github.com/bignerdranch/cocoa-programming-for-osx-5e/blob/master/Swift2.md, and is worth perusing as it explains why the changes to code in the text are necessary. Exercises are a central part of the worth of this book, and unless you want to type in every character of every exercise, you'll want to do some cutting and pasting. I read the book on Kindle for Mac, which makes cutting and pasting quite painful, as line ends are stripped and an attribution is inserted with every paste. The better solution is to go to https://github.com/bignerdranch/cocoa-programming-for-osx-5e and to hit the "Download ZIP" button in the upper right hand corner of the page, and you'll have every project in its entirety updated for Swift 2. I even used it to solve an Interface Builder problem that I was having by inspecting the bindings in a project and comparing them to how I had (incorrectly) made them. Finally, although it appears somewhat currently moribund, there's a forum for the book at http://forums.bignerdranch.com/viewforum.php?f=511 with errata, solutions, and some good additional explanations.
The greatest strength of this book is the succinct insights that the authors sprinkle throughout the chapters. OSX Cocoa programming isn't just Swift: it's a whole ecosystem, and often I've found myself wondering when coding for Apple devices, "why on earth do they do that?" I have an entirely new appreciation for how this OS works thanks to these authors, and that is incredibly useful in approaching a code problem on this platform.
If I had one minor gripe, it's that the authors could have worked in loading and parsing a flat file somewhere. They do file operations a bit in Chapter 35, NSTask, with pipe handling, but nearly every starter book on any system includes file read/write, and for very good reason: it's a very common need. After reading this book and with the resources out there on the web, I'm sure I'll quickly figure it out, but the code the authors include is terse and beautiful, and I would have liked to see how they would do it.
All in all, this is easily one of the best how-to programming books that I've read. When I learned Objective C, I read one book on the language and one on the Cocoa ecosystem, and I didn't get half as far as I am now after reading this book. If you've worked with an objected oriented language and you want to learn Cocoa for OSX with Swift, read the guide on the Apple website to learn the language--it will take 2 hours, tops--and then read this book and do the exercises. You're in for a treat.
this book. The designed examples associated with explanation and the effort to answer the readers' probable questions
in time are the reasons for this feeling. But two or three chapters in the latter part of the book do not explain the
framework functions satisfyingly. The exercises after each chapter are beneficial. Of course they take time. View Controller and
Storyboard are taught in the book, which iOS programmers are familiar with, but are comparatively new techniques used
on OS X. I haven't used them in a project, but I think they need paid attention to. One can learn to use Swift to develop
Cocoa programs and improve her/his general Swift skill. Although this book shows most big characteristics of Swift in the
examples, it is not a book specially for Swift. So I recommend studying Swift using some other resource before reading
- One of the few Swift+OSX books on the market.
- Written in a concise voice to it's intended audience.
- Ramps up well for those not coming from ObjC (Java, C, C++ for me).
- Separates topics well for those going a la carte.
- Decent index, sadly a bit rare in other books.
Apple has divided its kingdom along two axes: ObjC<->Swift and iOS8<->Yosemite. I'd love it if someone could spend a chapter explaining these subtleties. BNR does not. Somewhat related, bridging gets only a brief explanation. And unfortunately, it's one of my key interests.