Limit search to available items
Book Cover
E-book
Author Beam, Michael

Title Cocoa in a nutshell / Michael Beam and James Duncan Davidson
Published Sebastopol, CA ; Farnham : O'Reilly, 2003

Copies

Description 1 online resource (xvii, 545 pages) : illustrations
Series A Nutshell handbook
Nutshell handbook
Contents Table of Contents; Preface; What Is Cocoa?; The Cocoa Development Environment; Cocoa Design Patterns; Benefits; Languages; How This Book Is Organized; Conventions Used in This Book; How the Quick Reference Was Generated; Comments and Questions; Acknowledgments; From Mike; From Duncan; I; Objective-C; Objects; Dynamic Typing; Static Typing; Messaging; Structure of a Message; Nested messages; Messaging nil; How Messages Are Resolved into Methods; Selectors; Classes; The Root Class; Defining a Class; The interface; Scoping instance variables; The implementation; Special Variables; Class Methods
Overriding Superclass MethodsCreating Object Instances; Designated initializers; Memory Management; Retaining Objects in Accessor Methods; Deallocating Objects; Categories; Protocols; Naming Conventions; Foundation; Data; Immutable Versus Mutable Classes; Basic Types; Strings; Comparing strings; Attributed strings; Working with strings: character sets and scanners; NSCharacterSet; NSScanner; Numbers; Collections; Arrays; Sets; Dictionaries; Enumerators; Memory management in collections; Dates and Time; Binary Data; Key-Value Coding; Working with Files; The File Manager; File Handles
Bundles and Resource ManagementLoading Resources; Loading Code; Archiving Objects; Keyed Archiving; User Defaults; Notifications; Operating System Interaction; Process Info; Tasks; Threaded Programming; Locks; NSLock; NSRecursiveLock; NSConditionLock; The Application Kit; AppKit Design Patterns; Model-View-Controller; Target/Action; Nibs; Outlets and Actions; Application Architecture; The Application; NSApplicationMain; The application delegate; The run loop; The Window; Delegate methods; The View; Managing the view hierarchy; Controls; Cells; Menus; Sheets; Drawers; Toolbars; Event Handling
Event ObjectsThe Responder Chain; Document-Based Applications; Drawing and Imaging; The Role of Quartz; Coordinate Systems; Graphics Contexts; Working with Paths; Drawing to Views; Line Attributes; Path flatness; Line dashes and phase; Line cap style; Line join styles; Miter limit; Winding rule; Drawing Text; Attributed strings; Working with Color; Working with Images; NSImage; Compositing; Drawing into an image; NSImageRep; NSBitmapImageRep; Transformations; Text Handling; Text System Architecture; NSTextView; NSTextStorage; NSLayoutManager; NSTextContainer; How Text Is Laid Out
Assembling the Text SystemLayout Scenarios; Simple layout; Paginating text; Multicolumn text; Multiple simultaneous layouts; NSLayoutManager Delegation; Networking; Hosts; URL Resources; Working with URLs; URL Handles; Managing subclasses; Rendezvous Network Services; NSNetService; Initializing NSNetService for publication; NSNetService delegate methods; Errors; NSNetServiceBrowser; Searching for domains; Sockets; NSFileHandle; Interapplication Communication; NSPipe; Distributed Notifications; Suspending delivery; Distributed Objects; DO architecture; Setting up a server
Summary 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 frameworksThe 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
Notes "A desktop quick reference"--Cover
"Developer Connection recommended title"--Cover
Bibliography Includes bibliographical references (pages 515-521) and index
Notes Copyright © O'Reilly Media, Inc. 2003
SUBJECT Cocoa (Software framework)
Mac OS. http://id.loc.gov/authorities/names/n96060065
Mac OS fast
Cocoa (Software framework) fast
Subject C (Computer program language)
Application program interfaces (Computer software)
APIs (interfaces)
COMPUTERS -- Programming -- Microsoft Programming.
Application program interfaces (Computer software)
C (Computer program language)
Genre/Form Electronic book
Form Electronic book
Author Davidson, James Duncan
ISBN 9781449391492
1449391494
9781449391003
1449391001