Cocoa in a Nutshell: A Desktop Quick Reference

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.
1140203712
Cocoa in a Nutshell: A Desktop Quick Reference

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.
35.99 In Stock
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

eBook

$35.99 

Available on Compatible NOOK devices, the free NOOK App and in My Digital Library.
WANT A NOOK?  Explore Now

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: 9781449391003
Publisher: O'Reilly Media, Incorporated
Publication date: 05/19/2003
Series: In a Nutshell (O'Reilly)
Sold by: Barnes & Noble
Format: eBook
Pages: 568
File size: 7 MB

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

Prefaceix
Part I.Introducing Cocoa
1.Objective-C3
Objects3
Messaging4
Classes6
Creating Object Instances11
Memory Management13
Deallocating Objects15
Categories15
Naming Conventions17
2.Foundation18
Data18
Key-Value Coding36
Working with Files38
Bundles and Resource Management41
Archiving Objects44
User Defaults46
Notifications49
Operating System Interaction50
Threaded Programming52
3.The Application Kit57
AppKit Design Patterns57
Nibs58
Application Architecture60
Controls66
Menus68
Sheets69
Drawers72
Toolbars73
Event Handling76
Document-Based Applications78
4.Drawing and Imaging81
The Role of Quartz82
Coordinate Systems82
Graphics Contexts83
Working with Paths84
Drawing Text92
Working with Color93
Working with Images94
Transformations101
5.Text Handling103
Text System Architecture104
Assembling the Text System108
6.Networking114
Hosts115
URL Resources115
Rendezvous Network Services118
Sockets123
NSFileHandle124
7.Interapplication Communication128
NSPipe128
8.Other Frameworks136
AddressBook137
The Message Framework144
Disc Recording Frameworks145
Third-Party Frameworks152
Part II.API Quick Reference
How to Use This Quick Reference157
9.Foundation Types and Constants160
Data Types160
Enumerations167
Global Variables169
Constants172
Exceptions173
10.Foundation Functions175
Assertions175
Bundles176
Byte Ordering177
Decimals178
Java Setup179
Hash Tables180
HFS File Types181
Map Tables181
Object Allocation182
Objective-C Runtime183
Path Utilities183
Points184
Ranges184
Rects185
Sizes186
Uncaught Exceptions186
Zones186
11.Application Kit Types and Constants188
Data Types188
Enumerations205
Global Variables212
Exceptions220
12.Application Kit Functions221
Accessibility221
Applications222
Events222
Fonts222
Graphics: General223
Graphics: Window Depth225
Interface Styles225
OpenGL225
Panels226
Pasteboards226
System Beep227
13.Foundation Classes228
14.Foundation Protocols313
15.Application Kit Classes319
16.Application Kit Protocols441
Method Index453
Part III.Appendix
AppendixResources for Cocoa Developers515
Index523
From the B&N Reads Blog

Customer Reviews