Cargando…

Cocoa in a nutshell /

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 fram...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Beam, Michael
Otros Autores: Davidson, James Duncan
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Sebastopol, CA ; Farnham : O'Reilly, 2003.
Colección:Nutshell handbook.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • 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