Cocoa Programming: A Quick-Start Guide for Developer
The popularity of the iPhone and the iPad is drawing consumers’ attention to the Mac, and programmers are taking a fresh look, too. However, even experienced developers can have trouble getting comfortable with Apple’s Cocoa frameworks. Most books on Cocoa get stuck on the API and lose sight of the big picture: the design elegance that draws people to Apple. If it’s Apple, it’s supposed to be easier.
Daniel Steinberg thinks different. A well-known author, speaker, and podcaster on advanced topics in Apple development, he set out to write about Cocoa as a neighborhood, with rules, good streets, bad streets, and … neighbors!
The result is Cocoa Programming: A Quick-Start Guide for Developers (Pragmatic Bookshelf, $32.95 Paper). Just like an experienced neighbor, Steinberg shows readers the shortcuts, best resources, and places to avoid. He presents best practices and insider tips for finding more information. That’s how experienced developers roll.
But make no mistake—Cocoa Programming isn’t just a bird’s eye overview. Readers will finish the book as Cocoa programmers, primarily for desktop OS X but with portability to the iPhone, iPad, and mobile platforms. As early as the second chapter, they’ll use Apple’s Xcode and Interface Builder dev tools to create a web browser, then they’ll dive into the square brackets and unique syntax of Objective-C, the language of Cocoa.
Throughout the four sections of the book, Steinberg emphasizes the wisdom of using and reusing all the methods, classes, tools, and resources built into the Cocoa frameworks. “This book begins with you creating an application with almost no code.
“You then spend the bulk of the book mastering different coding techniques. By the end … you will again be writing less code. This time, however, you will understand sophisticated techniques that allow you to create powerful and flexible applications by writing only the code that is required.”
That’s the experience developers will earn from working through this book. Working with Cocoa’s resources will become a sort of sixth sense. Steinberg describes the point where Cocoa programmers trust they can find “two lines” of reusable code for most solutions: “fifty lines in, you’ll be aware that you’re working too hard. You will know that those two lines probably exist. When you don’t know what to do yourself, you’ll know where to go to find help.”
That’s the power of Cocoa Programming—beyond learning Objective-C and the development tools, readers learn how to save time by exploiting the rich set of existing solutions built into the frameworks.
It’s the experienced programmer’s fastest way to break into Apple development.
About the Author
Daniel Steinberg writes feature articles for Apple’s ADC web site and is a regular contributor to Mac Devcenter. He has presented at Apple’s Worldwide Developer Conference, MacWorld, MacHack, and other Mac developer conferences and has produced podcasts for Apple. He has coauthored books on Apple’s Bonjour technology as well as on Java Programming and using Extreme Programming in Software Engineering classes.
What People Are Saying
“If you are writing applications for the Mac, the iPhone, or the exciting new iPad, this book will get you started. The programming model for all three platforms is essentially the same, and this book will teach it to you. Get this book so you have a solid foundation to write the next big hit.”
A Quick-Start Guide for Developers
ISBN: 9781934356302, 450 pages, $32.95US, $41.95CA, 7.5×9.
Pragmatic Bookshelf Titles are distributed to bookstores internationally by O’Reilly Media.
Sample chapters, table of contents, and more information is available on the book’s home page.
About Pragmatic Bookshelf
The Pragmatic Bookshelf features books written by developers for developers. The titles continue the well-known Pragmatic Programmer style, and continue to garner awards and rave reviews. As development gets more and more difficult, the Pragmatic Programmers will be there with more titles and products to help programmers stay on top of their game.
Press and Editorial Queries Only:
Contact Andy Hunt or Dave Thomas
800-699-7764 (+1 919-847-3884)