-
Introducing Cocoa
-
Chapter 1 Objective-C
- Objects
- Messaging
- Classes
- Creating Object Instances
- Memory Management
- Deallocating Objects
- Categories
- Naming Conventions
-
Chapter 2 Foundation
- Data
- Key-Value Coding
- Working with Files
- Bundles and Resource Management
- Archiving Objects
- User Defaults
- Notifications
- Operating System Interaction
- Threaded Programming
-
Chapter 3 The Application Kit
- AppKit Design Patterns
- Nibs
- Application Architecture
- Controls
- Menus
- Sheets
- Drawers
- Toolbars
- Event Handling
- Document-Based Applications
-
Chapter 4 Drawing and Imaging
- The Role of Quartz
- Coordinate Systems
- Graphics Contexts
- Working with Paths
- Drawing Text
- Working with Color
- Working with Images
- Transformations
-
Chapter 5 Text Handling
- Text System Architecture
- Assembling the Text System
-
Chapter 6 Networking
- Hosts
- URL Resources
- Rendezvous Network Services
- Sockets
- NSFileHandle
-
Chapter 7 Interapplication Communication
- NSPipe
-
Chapter 8 Other Frameworks
- AddressBook
- The Message Framework
- Disc Recording Frameworks
- Third-Party Frameworks
-
-
API Quick Reference
-
Chapter 9 Foundation Types and Constants
- Data Types
- Enumerations
- Global Variables
- Constants
- Exceptions
-
Chapter 10 Foundation Functions
- Assertions
- Bundles
- Byte Ordering
- Decimals
- Java Setup
- Hash Tables
- HFS File Types
- Map Tables
- Object Allocation
- Objective-C Runtime
- Path Utilities
- Points
- Ranges
- Rects
- Sizes
- Uncaught Exceptions
- Zones
-
Chapter 11 Application Kit Types and Constants
- Data Types
- Enumerations
- Global Variables
- Exceptions
-
Chapter 12 Application Kit Functions
- Accessibility
- Applications
- Events
- Fonts
- Graphics: General
- Graphics: Window Depth
- Interface Styles
- OpenGL
- Panels
- Pasteboards
- System Beep
-
Chapter 13 Foundation Classes
-
Chapter 14 Foundation Protocols
-
Chapter 15 Application Kit Classes
-
Chapter 16 Application Kit Protocols
-
-
Appendix
-
Appendix A Appendix: Resources for Cocoa Developers
- Apple Documentation
- Related Books
- Web Sites
- Mailing Lists
- Partnering with Apple
-
-
Colophon
- Title:
- Cocoa in a Nutshell
- By:
- Michael Beam, James Duncan Davidson
- Publisher:
- O'Reilly Media
- Formats:
-
- Safari Books Online
- Print Release:
- May 2003
- Pages:
- 576
- Print ISBN:
- 978-0-596-00462-0
- | ISBN 10:
- 0-596-00462-1
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of Cocoa in a Nutshell is an Irish setter. Bred as a sporting dog in the 19th century, the Irish setter's agility and energy made it a prime companion for pheasant and quail hunters. By the 1890s, the dog's attractive, silky red coat and elegant build boosted its popularity as a show dog. For the past century, breeders have created a larger dog with a longer coat, with deep chestnut red or patches of red and white hair. The dog is also popular as a family pet. Described as loyal, gentle, energetic, and happy, the Irish setter gets along well with children. Some hospitals, nursing homes, and rehabilitation centers also adopt the Irish setter as a therapy dog. Colleen Gorman was the production editor, and Colleen Gorman and Ann Schirmer were the copyeditors for Cocoa in a Nutshell. Mary Brady, Jane Ellin, Claire Cloutier, and Linley Dolby provided quality control. Reg Aubry wrote the index.
Emma Colby designed the cover of this book, based on a series design by Edie Freedman. The cover image is a 19th-century engraving from the Dover Pictorial Archive. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font.
David Futato and Bret Kerr designed the interior layout. This book was converted by Andrew Savikas to FrameMaker 5.5.6 with a format conversion tool created by ErikRay, Jason McIntosh, Neil Walls, and Mike Sierra that uses Perl and XML technologies. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. The tip and warning icons were drawn by Christopher Bing. This colophon was written by Ann Schirmer.
