BUY THIS BOOK
Add to Cart

Print Book $34.95


Safari Books Online

What is this?

Add to UK Cart

Print Book £24.95

What is this?

Looking to Reprint this content?

Learning Cocoa with Objective-C, Second Edition

By James Duncan Davidson, Apple Computer, Inc.
September 2002
Pages: 382
ISBN 10: 0-596-00301-3 | ISBN 13: 9780596003012
starstarstarstarstar (Average of 3 Customer Reviews)

Buy 2 Get 1 Free Free ShippingGuarantee

Book description

Based on the Jaguar release of Mac OS X 10.2, this 2nd edition of Learning Cocoa includes examples that use the Address Book and Universal Access APIs. Also included is a handy quick reference card, charting Cocoa's Foundation and AppKit frameworks, along with an Appendix that includes a listing of resources essential to any Cocoa developer--beginning or advanced. This is the "must-have" book for people who want to develop applications for Mac OS X, and is the only book approved and reviewed by Apple engineers.
Full Description

Learning Cocoa with Objective-C is the "must-have" book for people who want to develop applications for Mac OS X, and is the only book approved and reviewed by Apple engineers. Based on the Jaguar release of Mac OS X 10.2, this edition of Learning Cocoa includes examples that use the Address Book and Universal Access APIs. Also included is a handy quick reference card, charting Cocoa's Foundation and AppKit frameworks, along with an Appendix that includes a listing of resources essential to any Cocoa developer--beginning or advanced. Completely revised and updated, this 2nd edition begins with some simple examples to familiarize you with the basic elements of Cocoa programming as well Apple's Developer Tools, including Project Builder and Interface Builder. After introducing you to Project Builder and Interface Builder, it brings you quickly up to speed on the concepts of object-oriented programming with Objective-C, the language of choice for building Cocoa applications. From there, each chapter presents a different sample program for you to build, with easy to follow, step-by-step instructions to teach you the fundamentals of Cocoa programming. The techniques you will learn in each chapter lay the foundation for more advanced techniques and concepts presented in later chapters. You'll learn how to:
  • Effectively use Apple's suite of Developer Tools, including Project Builder and Interface Builder
  • Build single- and multiple-window document-based applications
  • Manipulate text data using Cocoa's text handling capabilities
  • Draw with Cocoa
  • Add scripting functionality to your applications
  • Localize your application for multiple language support
  • Polish off your application by adding an icon for use in the Dock, provide Help, and package your program for distribution
Each chapter ends with a series of Examples, challenging you to test your newly-learned skills by tweaking the application you've just built, or to go back to an earlier example and add to it some new functionality. Solutions are provided in the Appendix, but you're encouraged to learn by trying. Extensive programming experience is not required to complete the examples in the book, though experience with the C programming language will be helpful. If you are familiar with an object-oriented programming language such as Java or Smalltalk, you will rapidly come up to speed with the Objective-C language. Otherwise, basic object-oriented and language concepts are covered where needed.

Browse within this book

Cover | Table of Contents | Colophon




Featured customer reviews

Write a Review


Learning Cocoa with Objective-C Review,  February 04 2003
Rating: StarStarStarStarStar
Submitted by Michael Reiland   [Respond | View]

I too thoroughly enjoyed this book. I have been programming in C for a number of years, but wanted to take the next step (excuse the pun) and get into Cocoa and Objective-C. This is the best resource for learning Cocoa that I've seen. I've tried a couple other books and nothing compares to this book's excellent pace and process.

If you are a beginning Cocoa programmer, this book is a must. I can't wait until a more advanced book on Cocoa comes out.


Learning Cocoa with Objective-C Review,  January 17 2003
Rating: StarStarStarStarStar
Submitted by Gerry Davenport   [Respond | View]

After starting “Building Cocoa Applications: A Step by Step Guide,” another O‘Reilly title, and “Cocoa Programming for Max OS X” by Aaron Hillegass, I had to set them aside because they were filled with info that I was not looking for, ready for, or was not explained in a clear format--I felt lost and discouraged that I was not learning anything while I was reading them.

I picked up “Learning Cocoa with Objective-C, 2nd Edition” and read it from cover to cover without doing any examples, but I understood them like I was the one who created them. The book, although a bit simple in some parts (even for me), was straight forward and clearly understandable. The code that was being written was explained in detail, and there was nothing in there that was not part of the scope of the title. The book was a refreshingly clear read about “Learning Cocoa with Objective-C.”

I am ready for MR. James Duncan Davidson to write the next level Cocoa Programming book, because I need all the help I can get--hands on training would be great--any takers?


Learning Cocoa with Objective-C Review,  November 30 2002
Rating: StarStarStarStarStar
Submitted by Daniel Stein   [Respond | View]

For those wanting to take their first steps in the world of Cocoa - ObjectiveC, I find it difficult to imagine a better introduction. The measured pace and set of very appropriate examples made it just right for me. The author's advice about necessary background is spot-on, and readers without it may be a little frustrated. There is not much material incorporated about OOP concepts, so I found that my experience with C++ and object-oriented concepts to be very useful in understanding the basics of how the Cocoa frameworks and the ObjectiveC syntax fit into the scheme of things. The edition I read contains numerous typos and minor errors but most of them are dealt with in the errata portion of the book website. Davidson has a friendly, enjoyable style and uses it well when the material allows it. Highly recommended!

Read all reviews


Media reviews "'Learning Cocoa with Objective-C Second Edition' is a book rich enough to satisfy both the novice programmer and the has-been coder who would like to move over to OS X...Out of all the books I've seen on the topic, this book is not only the best but the least expensive, as well. Quality definitely outweighs quantity on this one, and I would recommend this book to anyone, novice or professional, who would like a guide to Cocoa."
--Dan Hollister, Macteens, March 2004
http://macteens.com/more.php?id=181_0_1_0_C

"By the time I got through it, I pretty much understood the whys and wherefores in OS X and how Cocoa apps behave. It peeled back the mystery for me...Apple wants application developers to succeed on the OS X platform and this book goes a long ways in making that process possible."--Robert Pritchett, MacNut, January 2003

Read all reviews

See larger cover