Summer Reading B2G1 Free

Special Offers see all

Enter to WIN a $100 Credit

Subscribe to
for a chance to win.
Privacy Policy

Visit our stores

    Recently Viewed clear list

    Lists | July 29, 2015

    Edward Carey: IMG 10 Best Books by Writer-Illustrators

    As a child who loved books I was fascinated by the illustrations just as much as the text. The same is true for me today, and I'm happy to be among... Continue »
    1. $11.89 Sale Hardcover add to wish list

      Foulsham (Iremonger Series #2)

      Edward Carey 9781468309546


This item may be
out of stock.

Click on the button below to search for this title in other formats.

Check for Availability
Add to Wishlist

This title in other editions

Cocoa in a Nutshell: A Desktop Quick Reference


Cocoa in a Nutshell: A Desktop Quick Reference Cover


Synopses & Reviews

Publisher Comments:

Cocoa(R) is more than just a collection of classes, and is certainly more than a simple framework. Cocoa is a complete API set, class library, framework, and development environment for building applications and tools to run on Mac OS(R) X. With over 240 classes, Cocoa is divided into two essential frameworks: Foundation and Application Kit. Above all else, Cocoa is a toolkit for creating Mac OS X application interfaces, and it provides access to all of the standard Aqua(R) interface components such as menus, toolbars, windows, buttons, to name a few. "Cocoa in a Nutshell" begins with a complete overview of Cocoa's object classes. It provides developers who may be experienced with other application toolkits the grounding they'll need to start developing Cocoa applications. Common programming tasks are described, and many chapters focus on the larger patterns in the frameworks so developers can understand the larger relationships between the classes in Cocoa, which is essential to using the framework effectively. "Cocoa in a Nutshell" is divided into two parts, with the first part providing a series of overview chapters that describe specific features of the Cocoa frameworks. Information you'll find in Part I includes: An overview of the Objective-C language Coverage of the Foundation and Application Kit frameworks Overviews of Cocoa's drawing and text handling classes Network services such as hosts, Rendezvous URL services, sockets, and file handling Distributed notifications and distributed objects for interapplication communication Extending Cocoa applications with other frameworks, including the AddressBook, DiscRecording, and Messaging frameworks The second half of the book is adetailed quick reference to Cocoa's Foundation and Application Kit (AppKit) classes. A complement to Apple's documentation, "Cocoa in a Nutshell" is the only reference to the classes, functions, types, constants, protocols, and methods that make up Cocoa's Foundation and Application Kit frameworks, based on the Jaguar release (Mac OS X 10.2). Peer-reviewed and approved by Apple's engineers to be part of the Apple Developer Connection (ADe Series, "Cocoa in a Nutshell" is the book developers will want close at hand as they work. It's the desktop quick reference they can keep by their side to look something up quickly without leaving their work. "Cocoa in a Nutshell" is the book developers will want close at hand as they work. It's the desktop quick reference they can keep by their side to look something up quickly without leaving their work.

About the Author

  1. James Duncan DavidsonJames 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 (, 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.

Table of Contents

Preface; What Is Cocoa?; How This Book Is Organized; Conventions Used in This Book; How the Quick Reference Was Generated; Comments and Questions; Acknowledgments; Introducing Cocoa; Chapter 1: Objective-C; 1.1 Objects; 1.2 Messaging; 1.3 Classes; 1.4 Creating Object Instances; 1.5 Memory Management; 1.6 Deallocating Objects; 1.7 Categories; 1.8 Naming Conventions; Chapter 2: Foundation; 2.1 Data; 2.2 Key-Value Coding; 2.3 Working with Files; 2.4 Bundles and Resource Management; 2.5 Archiving Objects; 2.6 User Defaults; 2.7 Notifications; 2.8 Operating System Interaction; 2.9 Threaded Programming; Chapter 3: The Application Kit; 3.1 AppKit Design Patterns; 3.2 Nibs; 3.3 Application Architecture; 3.4 Controls; 3.5 Menus; 3.6 Sheets; 3.7 Drawers; 3.8 Toolbars; 3.9 Event Handling; 3.10 Document-Based Applications; Chapter 4: Drawing and Imaging; 4.1 The Role of Quartz; 4.2 Coordinate Systems; 4.3 Graphics Contexts; 4.4 Working with Paths; 4.5 Drawing Text; 4.6 Working with Color; 4.7 Working with Images; 4.8 Transformations; Chapter 5: Text Handling; 5.1 Text System Architecture; 5.2 Assembling the Text System; Chapter 6: Networking; 6.1 Hosts; 6.2 URL Resources; 6.3 Rendezvous Network Services; 6.4 Sockets; 6.5 NSFileHandle; Chapter 7: Interapplication Communication; 7.1 NSPipe; Chapter 8: Other Frameworks; 8.1 AddressBook; 8.2 The Message Framework; 8.3 Disc Recording Frameworks; 8.4 Third-Party Frameworks; API Quick Reference; Chapter 9: Foundation Types and Constants; 9.1 Data Types; 9.2 Enumerations; 9.3 Global Variables; 9.4 Constants; 9.5 Exceptions; Chapter 10: Foundation Functions; 10.1 Assertions; 10.2 Bundles; 10.3 Byte Ordering; 10.4 Decimals; 10.5 Java Setup; 10.6 Hash Tables; 10.7 HFS File Types; 10.8 Map Tables; 10.9 Object Allocation; 10.10 Objective-C Runtime; 10.11 Path Utilities; 10.12 Points; 10.13 Ranges; 10.14 Rects; 10.15 Sizes; 10.16 Uncaught Exceptions; 10.17 Zones; Chapter 11: Application Kit Types and Constants; 11.1 Data Types; 11.2 Enumerations; 11.3 Global Variables; 11.4 Exceptions; Chapter 12: Application Kit Functions; 12.1 Accessibility; 12.2 Applications; 12.3 Events; 12.4 Fonts; 12.5 Graphics: General; 12.6 Graphics: Window Depth; 12.7 Interface Styles; 12.8 OpenGL; 12.9 Panels; 12.10 Pasteboards; 12.11 System Beep; Chapter 13: Foundation Classes; Chapter 14: Foundation Protocols; Chapter 15: Application Kit Classes; Chapter 16: Application Kit Protocols; Appendix; Appendix: Resources for Cocoa Developers; Apple Documentation; Related Books; Web Sites; Mailing Lists; Partnering with Apple; Colophon;

Product Details

Operating Systems - Macintosh
Davidson, James Duncan
Beam, Michael
Michael Beam
James Duncan Davidson
Programming Languages - General
Programming - General
Application program interfaces
Mac OS
Language, literature and biography
Object-oriented pro
Cocoa (Application development environment)
Macintosh-OS X Programming
Operating Systems - General
Software Engineering-Object Oriented Programming
Publication Date:

Related Subjects

Computers and Internet » Computers Reference » General
Computers and Internet » Operating Systems » General
Computers and Internet » Programming » Apple Programming
Computers and Internet » Software Engineering » Object Oriented Programming
Computers and Internet » Software Engineering » Programming and Languages

Cocoa in a Nutshell: A Desktop Quick Reference
0 stars - 0 reviews
$ In Stock
Product details 545 pages O'Reilly Media, Incorporated - English 9781449391003 Reviews:
  • back to top


Powell's City of Books is an independent bookstore in Portland, Oregon, that fills a whole city block with more than a million new, used, and out of print books. Shop those shelves — plus literally millions more books, DVDs, and gifts — here at