Cocoa in a Nutshell: A Desktop Quick Reference

Cocoa in a Nutshell: A Desktop Quick Reference

Cocoa in a Nutshell: A Desktop Quick Reference

Cocoa in a Nutshell: A Desktop Quick Reference

Paperback

$44.99 
  • SHIP THIS ITEM
    Qualifies for Free Shipping
  • PICK UP IN STORE
    Check Availability at Nearby Stores

Related collections and offers


Overview

Cocoa® 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® 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® 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 a detailed 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 (ADC) 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.

Product Details

ISBN-13: 9780596004620
Publisher: O'Reilly Media, Incorporated
Publication date: 05/14/2003
Series: In a Nutshell (O'Reilly)
Pages: 566
Product dimensions: 6.00(w) x 9.00(h) x 1.25(d)

About the Author

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.

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;
From the B&N Reads Blog

Customer Reviews