Cocoa Programming for OS X: The Big Nerd Ranch Guide (Anglais) Broché – 14 avril 2015
|Neuf à partir de||Occasion à partir de|
Produits fréquemment achetés ensemble
Les clients ayant acheté cet article ont également acheté
Description du produit
Présentation de l'éditeur
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.
This edition was written for Xcode 6.3 and Swift 1.2. At WWDC 2015, Apple announced Xcode 7 and Swift 2, both of which introduce significant updates that (along with some changes to Cocoa for OS X 10.11) affect some of the exercises in this book. We have prepared a companion guide listing the changes needed to use Xcode 7 to work through the exercises in the book; it is available at https://github.com/bignerdranch/cocoa-programming-for-osx-5e/blob/master/Swift2.md.
Biographie de l'auteur
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.
Aucun appareil Kindle n'est requis. Téléchargez l'une des applis Kindle gratuites et commencez à lire les livres Kindle sur votre smartphone, tablette ou ordinateur.
Pour obtenir l'appli gratuite, saisissez votre numéro de téléphone mobile.
Détails sur le produit
Si vous vendez ce produit, souhaitez-vous suggérer des mises à jour par l'intermédiaire du support vendeur ?
Meilleurs commentaires des clients
Un problème s'est produit lors du filtrage des commentaires. Veuillez réessayer ultérieurement.
Commentaires client les plus utiles sur Amazon.com
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 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 is a rare find because:
- it is recently published and seems to even match the general behavior of tools in Xcode 9.1
- it explains a lot of the background for what it is teaching, with strong, concise overviews of key concepts.
- it teaches by creating things manually in many cases instead of relying on coding templates. This explains the often poorly-documented connections between entities in Interface Builder and code.
I can't say how easy this book would be to pick up for someone completely new to the Apple development tools (Xcode), but I'm finding it to be very well written with no obvious errors and provides just enough confidence to a reader doing the exercises to imagine writing their own applications.
I don't often like books of this type, but I'm really enjoying this one.