Learning Cocoa with Objective-C and over one million other books are available for Amazon Kindle. Learn more

Buy New

or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Buy Used
Used - Good See details
$8.34 & eligible for FREE Super Saver Shipping on orders over $25. Details

or
Sign in to turn on 1-Click ordering.
 
   
Kindle Edition
 
   
Sell Back Your Copy
For a $1.99 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Learning Cocoa with Objective-C, 2nd Edition
 
 
Start reading Learning Cocoa with Objective-C on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Learning Cocoa with Objective-C, 2nd Edition [Paperback]

James Duncan Davidson (Author), Inc. Apple Computer (Author)
3.8 out of 5 stars  See all reviews (19 customer reviews)

List Price: $39.99
Price: $26.39 & this item ships for FREE with Super Saver Shipping. Details
You Save: $13.60 (34%)
  Special Offers Available
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it delivered Tuesday, January 31? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for Students. Learn more

Formats

Amazon Price New from Used from
Kindle Edition $15.39  
Paperback $26.39  
Sell Back Your Copy for $1.99
Whether you buy it used on Amazon for $4.18 or somewhere else, you can sell it back through our Book Trade-In Program at the current price of $1.99.
Used Price$4.18
Trade-in Price$1.99
Price after
Trade-in
$2.19

Book Description

0596003013 978-0596003012 September 27, 2002 Second Edition

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.


Special Offers and Product Promotions

  • Buy $50 in qualifying physical textbooks, get $5 in Amazon MP3 Credit. Here's how (restrictions apply)

Frequently Bought Together

Learning Cocoa with Objective-C, 2nd Edition + Cocoa and Objective-C: Up and Running: Foundations of Mac, iPhone, and iPod touch programming + Learning iPhone Programming: From Xcode to App Store
Price For All Three: $67.47

Show availability and shipping details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Cocoa and Objective-C: Up and Running: Foundations of Mac, iPhone, and iPod touch programming $21.29

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details

  • Learning iPhone Programming: From Xcode to App Store $19.79

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details



Editorial Reviews

About the Author

This book was contributed to by the technical writers, engineers, support specialists, and other professionals at Apple Computer, Inc., who are committed to making Mac OS X a superior platform for innovation, productivity, and enjoyment. These professionals have diligently collected, compiled, and edited the information in this books to ensure that it is a useful resource for Mac OS X developers.

James Duncan Davidson is a freelance author, software developer, and consultant focusing on Mac OS X, Java, XML, and open source technologies. He is the author of Learning Cocoa with Objective-C (published by O'Reilly & Associates) and is a frequent contributor to the O'Reilly Network online website as well as publisher of his own website, x180 (http://www.x180.net), where he keeps his popular weblog. Duncan was the creator of Apache Tomcat and Apache Ant and was instrumental in their donation to the Apache Software Foundation by Sun Microsystems . While working at Sun, he authored two versions of the Java Servlet API specification as well as the Java API for XML Processing. Duncan regularly presents at conferences all over the world on topics ranging from open source and collaborative development to programming Java more effectively. He didn't graduate with a Computer Science degree, but sees that as a benefit in helping explain how software works. His educational background is in Architecture (the bricks and mortar kind), the essence of which he applies to every software problem that finds him. He currently resides in San Francisco, California.


Product Details

  • Paperback: 358 pages
  • Publisher: O'Reilly Media; Second Edition edition (September 27, 2002)
  • Language: English
  • ISBN-10: 0596003013
  • ISBN-13: 978-0596003012
  • Product Dimensions: 9.4 x 6.9 x 1 inches
  • Shipping Weight: 1.4 pounds (View shipping rates and policies)
  • Average Customer Review: 3.8 out of 5 stars  See all reviews (19 customer reviews)
  • Amazon Best Sellers Rank: #335,796 in Books (See Top 100 in Books)

More About the Author

James Duncan Davidson is a photographer, author, and software developer living in Portland, Oregon. He is perhaps best known for his work on Apache Tomcat and Apache Ant, both open source software projects created during his tenure at Sun Microsystems. More recently, he has participated in the creation of 6 books, helped to create several websites with Ruby on Rails, and is pursuing a growing photographic business.

 

Customer Reviews

19 Reviews
5 star:
 (6)
4 star:
 (7)
3 star:
 (3)
2 star:
 (2)
1 star:
 (1)
 
 
 
 
 
Average Customer Review
3.8 out of 5 stars (19 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

37 of 39 people found the following review helpful:
5.0 out of 5 stars GREAT Book To Learn Cocoa and Objective-C Programming From!, November 29, 2002
By 
Kelsey McClanahan (Northeastern, NV United States of America) - See all my reviews
(REAL NAME)   
Amazon Verified Purchase(What's this?)
This review is from: Learning Cocoa with Objective-C, 2nd Edition (Paperback)
I have both this book (Learning Cocoa with Objective-C) and it's predecessor (Learning Cocoa). These are two completely different books. The first book wasn't hardly worth the paper it was printed on, as it was mostly just a thrown together collection of rag-tag tutorials from Apple's web site. Thankfully, this book is NOT the first book!

Fast forward to verison II, Learning Cocoa w/ Objective C. This book is great! It covers a whole slew of topics ommitted by the first version. Thankfully the content is NOT the same as before. A tiny bit of it is similar, but for the most part one person took it upon themselves to make sure that all of the material was presented in a consistent manner. By the end of this book you'll walk through all of the steps required to write an application similar to TextEdit (provided with Mac OS X). This application will support Rich Text Formatting, save and open capabilities, spell checking and much much more. You'll be impressed with what you build in this "Learning" book. If you've ever done the REALBasic tutorial you'll find that this creates a very similar application using the Cocoa Framework and Objective-C.

All the basics of learning to write MAC OS X applications with Cocoa are covered here. Unlike the first version of this book it doesn't assume you already knew Objective-C or have had exposure to NextStep. If you're looking for a good book to expose you to Cocoa and Objective-C programming buy this book and work through it all. It's worth it!

This book will also guide you through using the debugger in Project Builder. You'll learn how to use the debugger print-object command and other useful debugging techniques. This book does more than just point out the fact that the debugger exists. It shows you how to apply it usefully.

Another thing I like about this book is the fact that it covers NSString's in more detail than other books of the genre. You'll see examples on how to pull substrings out of NSStrings and use NSRange. You'll also see demonstartions of using NSMutableString as well. Several other books merely mention that NSMutableString exists, but then fail to show what is different between the two.

The excersises at the end of each chapter are very helpful in learning Cocoa Programming too! They're not too difficult, but not too simple either. They'll make you dig and think a bit to find a solution, but not so much that you'll want to pull your hair out and give up. AND If you go happen to get stuck you'll find answers revealed in the back of the book.

This book is for the most part geared towards Mac OS X 10.2, but I did manage to do all of the examples in 10.1.5 (except with the programming example that made use of the Jaguar's Address Book, of course.) This is a bonus, for some of the earlier Cocoa Programming books do not take into account newer versions of Mac OS X and thus are now a bit out of date.

Surprisingly, this book is thicker too, but only because it's now on quality paper. The book actually contains fewer pages (by only a dozen or so) than the original, but Cocoa programming is covered much more thoroughly. There's not much textual fluff or irrelevant screen shots to gobble up pages; --just the right balance of what is needed to cover Cocoa and Objective-C programming for the beginning or semi-intermeddiate programmer.

If you already own the first book don't worry about buying this one and receiving repeat material. These two books are not the same animal (even though the dog on the front cover is the same). They are two totally different creatures with internal organs unique to themselves. In fact, after working through the second edition you might find the first edition more useful; --as you will have gained knowledge from the second version to more completely comprehend chapters in the latter part of the frist version.

One more note: THANK YOU O'REILLY & ASSOCIATES! You're breathing new life into books for the Macintosh! Be it mac-only books (like this Cocoa Programming book) or just the fact that you include MAC OS X specifics in books like "Managing and Using MySQL (2nd Edition)". Myself and I'm sure many others appreciate it. Thanks!

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


19 of 19 people found the following review helpful:
4.0 out of 5 stars Overall, this book provides an adequate introduction, but..., January 6, 2003
By 
digitalshadow (dark side of the moon) - See all my reviews
This review is from: Learning Cocoa with Objective-C, 2nd Edition (Paperback)
...for me this book, by itself, came up a little short in certain areas. The first book on Cocoa programming that I had purchased was Aaron Hillegass' "Cocoa Programming for Mac OS X". After reading and working the examples from the first 4 chapters of Mr. Hillegass' book, I was still having difficulty grasping the concepts -- or at least more difficulty than I thought I should be having -- of Cocoa programming. That's when I discovered Mr. Davidson's book at my local bookstore. After reading the first few chapters, I was able to grasp the concepts that had eluded me whilst studying Mr. Hillegass' book. Put simply: it all started making sense.

In my opinion, neither book, by itself, provides a complete introduction to Cocoa programming; rather, it is the combination of *both* books that truly provides the introductory material that's fundamental to understanding Cocoa and Objective-C programming. In addition, Mr. Davidson has provided, in my opinion, a more logical and easier to follow progression of topics. Unfortunately, he also fails to provide sufficient depth on some topics after their introduction. Two examples that readily come to mind are the collection classes and memory management. On these two topics, I tip my hat to Mr. Hillegass for providing the better instruction because he: 1.) also explained and gave an example of using enumerators (think C++ interators) to traverse a collection, and 2.) because he gave a very good explanation of where and how to use autoreleased objects in functions.

Overall, I think my biggest compliment about this book is that it maintains a high degree of consistency in the way topics are presented. My biggest complaint is that, in certain areas, the depth of the presentation is simply too shallow. With a little more sustenance, this book could easily become the de facto standard for an introduction to Cocoa programming using Objective-C.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


29 of 32 people found the following review helpful:
3.0 out of 5 stars A good book, but not the best book, May 9, 2004
This review is from: Learning Cocoa with Objective-C, 2nd Edition (Paperback)
A very popular book, and greatly improved in its second edition. Very example and tutorial oriented; somewhat out of date at this point, however.  Helps the user learn Interface Builder, ProjectBuilder and Objective-C, too. Possibly a bit shallow to get the reader writing their own Cocoa programs from scratch, but a good introduction. Ultimately, probably not as recommended for a first purchase as Cocoa Programming by Scott Anguish or Cocoa Programming for Mac OS X by Aaron Hillegass.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



Inside This Book (learn more)
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(1)
(1)

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums



So You'd Like to...



Look for Similar Items by Category


Look for Similar Items by Subject