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
$3.96 & eligible for FREE Super Saver Shipping on orders over $25. Details

or
Sign in to turn on 1-Click ordering.
 
   
More Buying Choices
Have one to sell? Sell yours here
Building Cocoa Applications : A Step by Step Guide
 
 
Tell the Publisher!
I'd like to read this book on Kindle

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

Building Cocoa Applications : A Step by Step Guide [Paperback]

Simson Garfinkel (Author), Michael K. Mahoney (Author)
3.7 out of 5 stars  See all reviews (22 customer reviews)

List Price: $64.99
Price: $54.72 & this item ships for FREE with Super Saver Shipping. Details
You Save: $10.27 (16%)
  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 Monday, January 30? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for Students. Learn more

Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.

Book Description

0596002351 978-0596002350 May 8, 2002 1

Cocoa is an object-oriented development environment available in Apple's Mac OS X environment. Mac OS X, a unified operating system and graphical operating environment, is the fastest growing Unix variant on the market today. Hard-core Unix programmers, developers who cut their teeth on classic Mac operating systems, and developers who cherished NeXTSTEP, the decade-old system on which today's Cocoa is based -- all are flocking to Cocoa, and they need a lot more practical information than is currently available from Apple. There is a lot to learn.

Building Cocoa Applications is an ideal book for serious developers who want to write programs for the Mac OS X using Cocoa. It's a no-nonsense, hands-on text that's filled with examples -- not only simple and self-contained examples of individual Cocoa features, but extended examples of complete applications with enough sophistication and complexity that readers can put them to immediate use in their own environments.

Building Cocoa Applications takes a step-by-step approach to teaching developers how to build real graphics applications using Cocoa. By showing the basics of an application in one chapter and then layering additional functionality onto that application in subsequent chapters, the book keeps readers interested and motivated. Readers will see immediate results, and then go on to build onto what they've already achieved.

The book is divided into four major parts:

Part I introduces the Mac OS X graphical user interface (Aqua) from a developer's point of view, Cocoa developer tools (such as the Interface Builder, Project Builder, and gdb debugger), object-oriented concepts, the Objective-C language in which Cocoa is written, and the basics of Cocoa programming itself.

Part II focuses on building the first complete application, Calculator, a simple four-function calculator. The chapters in this part of the book extend the application, piece by piece, by introducing such features as nibs, icons, delegation, resizing, events, and responders.

Part III focuses on building an application called MathPaper, which is similar to a word processor but which instead solves mathematical expressions the user supplies. The chapters in this part of the book extend MathPaper by developing both the front and back ends using a variety of Cocoa classes and methods. They introduce Cocoa'sdocument-based architecture, tasks, pipes, Rich Text format, handling document files, and using Quartz to draw in windows.

Part IV focuses on building the GraphPaper application, a more complex multithreading application that graphs mathematical functions in multiple dimensions and that uses mouse-over capabilities to identify graph points. The chapters in this part of the book add more advanced Mac OS X features such as multithreading, color, mouse events, zoom buttons, pasteboards, services, preferences, and the defaults database.

By the end of the book, readers who have built the applications as they have read will have a solid understanding of what it really means to develop complete and incrementally more complex Cocoa applications.

The book comes with extensive source code available for download from the O'Reilly web site, along with an appendix listing additional resources for further study.


Special Offers and Product Promotions

  • Buy $50 in qualifying physical textbooks, get $5 in Amazon MP3 Credit. Here's how (restrictions apply)
  • Explore more great deals on 1000's of titles in our Bargain Book store.


Frequently Bought Together

Building Cocoa Applications : A Step by Step Guide + Cocoa in a Nutshell: A Desktop Quick Reference (In a Nutshell (O'Reilly)) + Cocoa and Objective-C: Up and Running: Foundations of Mac, iPhone, and iPod touch programming
Price For All Three: $106.02

Show availability and shipping details

Buy the selected items together


Editorial Reviews

About the Author

Simson Garfinkel, CISSP, is a journalist, entrepreneur, and international authority on computer security. Garfinkel is chief technology officer at Sandstorm Enterprises, a Boston-based firm that develops state-of-the-art computer security tools. Garfinkel is also a columnist for Technology Review Magazine and has written for more than 50 publications, including Computerworld, Forbes, and The New York Times. He is also the author of Database Nation; Web Security, Privacy, and Commerce; PGP: Pretty Good Privacy; and seven other books. Garfinkel earned a master's degree in journalism at Columbia University in 1988 and holds three undergraduate degrees from MIT. He is currently working on his doctorate at MIT's Laboratory for Computer Science.

Michael K. Mahoney is Dean of the College of Engineering at California State University, Long Beach, where he is also a Professor of Computer Engineering and Computer Science. Formerly, he was the Associate Vice President for Academic Information Technology and Chair of the Department of Computer Engineering and Computer Science. Dr. Mahoney started programming at NeXT Computer, Inc. in January 1989 and coauthored (with Simson Garfinkel) NeXTSTEP Programming, Step One: Object-Oriented Applications (Springer-Verlag). He has given presentations on object-oriented programming and NeXTSTEP's Interface Builder at ACM meetings in Seattle, Los Angeles, Monterey, and New Orleans. Before becoming dean, he regularly taught university courses in computer graphics, user interface design, object-oriented programming, discrete mathematics, and web development. He has supervised eight Master's theses. Mahoney earned his Ph.D. in mathematics at the University of California, Santa Barbara, in 1979. He has published papers in computer graphics, computer science education, and mathematics. He has won campuswide teaching awards at both UCSB and CSULB. His web site is http://www.csulb.edu/~mahoney/.


Product Details

  • Paperback: 648 pages
  • Publisher: O'Reilly Media; 1 edition (May 8, 2002)
  • Language: English
  • ISBN-10: 0596002351
  • ISBN-13: 978-0596002350
  • Product Dimensions: 9.2 x 7 x 1.2 inches
  • Shipping Weight: 2.2 pounds (View shipping rates and policies)
  • Average Customer Review: 3.7 out of 5 stars  See all reviews (22 customer reviews)
  • Amazon Best Sellers Rank: #277,635 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

22 Reviews
5 star:
 (8)
4 star:
 (5)
3 star:
 (5)
2 star:
 (3)
1 star:
 (1)
 
 
 
 
 
Average Customer Review
3.7 out of 5 stars (22 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

29 of 30 people found the following review helpful:
2.0 out of 5 stars Try a different book first., April 4, 2004
This review is from: Building Cocoa Applications : A Step by Step Guide (Paperback)
This book has potential, but in general I am pretty dissatisfied.

Good things:

(1) It is pretty well thought-out.

(2) The progression through 4 projects is good.

(3) There is working code for the examples available online.

Bad things:
(1) The book is riddled with errors. If you include the unofficial errata from OReilly's Website, the book becomes about 200% more usable.

(2) Why has this book not been reprinted? At LEAST OReilly should have released an official errata for this book at this point!!!

(3) This book does NOT cover 10.3 and the XCode software (still uses project builder). In most cases this is ok and you can figure much of it out. However, there are times that the differences are too significant to overcome without a lot of effort.
--
I have been very happy with O'Reilly books in the past, but this one is substandard.
I would recommend trying a different book unless this one is overhauled.

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


18 of 18 people found the following review helpful:
5.0 out of 5 stars A must-have book, May 25, 2002
By 
"ewwhitley" (Chicago, IL United States) - See all my reviews
This review is from: Building Cocoa Applications : A Step by Step Guide (Paperback)
If you're serious about programming on Mac OS X and have at least some experience under your belt already, then you really owe it to yourself to get two books:
(*)"Building Cocoa Applications: A Step by Step Guide."
(*)"Cocoa Programming for Mac OS X"

I started tinkering with Mac OS X a few years ago by reading a hodge-podge of incomplete Apple docs, sites like Stepwise, and archives of Omni-Group lists. These sources are great for reference, but it can be difficult to get answers you need unless you already have enough experience to know what questions to ask. Tough luck, newbie. O'Reilly's "Learning Cocoa" felt like an extension of Apple's docs - minimal on concepts and not entirely clear on some of the objectives of the examples. It's difficult to get an bigger-picture view of some of the capabilities offered by Cocoa and how you _could_ be doing development without a good explanation of concepts, clearly written example exercises that follow a sequence of topics, and additional information on how to make the best use of the Apple-provided developer tools.

The authors of both books take great pains to explain concepts to you in basic terms and then reinforce them with very well designed examples that really make you think. They then approach component problems from varying angles in order to help you understand the different options you have for tackling them. The chapter summaries and additional follow-up exercises were a very nice touch. Best of all is the idea that these books are not teaching you how to use particular classes in a restricted situation - they're teaching you how to understand _solutions_ in terms of Cocoa and then equip you with the skills required to plan your entire development approach and execute your project. The pointers on where to find additional documentation and some very, very cool tricks on how to use the development environment really made these books worthwhile.

I now feel more comfortable with Cocoa and more confident in my abilities to program on Mac OS X. Thanks, guys. :)

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


18 of 19 people found the following review helpful:
5.0 out of 5 stars Worth the effort, June 24, 2002
This review is from: Building Cocoa Applications : A Step by Step Guide (Paperback)
I've been meaning to learn Objective C, Interface Builder and Project Builder for years. From back in the days of Rhapsody, and before when I'd bought books on NextStep programming. Always intended to do so, that is, until I received this book at Apple's World Wide Developer's Conference. And now after typing my way through the book's source code, I'm comfortable with Objective C's oddball syntax, understand how to wire up an application in Interface Builder and have confidence I'll soon be making quality Cocoa applications of my own. I've already started writing a freedb client.

Obviously, it would be nice for me if the book explored network programming or the IOKit, but it concentrated on the fundamentals which nearly all applications share: windows, menus, drawing, printing, preferences, clipboards, documents, icons, etc. I can figure it out from here.

So get off the fence, it's time to learn Cocoa.

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:

What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

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

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

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...

Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject