Learning Cocoa
By
Apple Computer, Inc.
May 2001
Pages: 382
| Table of Contents
| Index
| Sample Chapters
| Colophon
Table of Contents
-
Cocoa Overview
-
Chapter 1 Introduction to Cocoa
- Cocoa Features
- The Cocoa Frameworks
-
Chapter 2 Object-Oriented Programming
- The Advantages of Object-Oriented Programming
- Fundamental Object-Oriented Concepts
-
Chapter 3 Objective-C Primer
- Language Summary
- Objective-C in Action
-
Chapter 4 Development Tools
- Project Builder
- Interface Builder
- Other Development Tools
- Useful Command-Line Tools
-
Single-Window Applications
-
Chapter 5 Hello World
- Creating the Project
-
Chapter 6 Essential Cocoa Paradigms
- Cocoa's Collection Classes
- Create Graphical User Interfaces in Cocoa
- Controls, Cells, and Formatters
- Target/Action
- Object Ownership, Retention, and Disposal
-
Chapter 7 Currency Converter Tutorial
- Design the Currency Converter Application
- Create the Currency Converter Project
- Create the Currency Converter Interface
- Define the Classes of Currency Converter
- Connect ConverterController to the Interface
- Implement the Classes of Currency Converter
-
Chapter 8 Event Handling
- Respond to User-Generated Events
- Respond to Program-Generated Events
-
Chapter 9 Data Functionality
- Table Views and Data Sources
- Flatten the Object Network: Coding and Archiving
-
Chapter 10 Travel Advisor Tutorial
- Travel Advisor Design
- Create the Travel Advisor Interface
- Define the Classes of Travel Advisor
- Implement the Classes of Travel Advisor
-
Multiple-Window Applications
-
Chapter 11 Cocoa's Multiple-Document Architecture
- Architectural Overview
- Implement a Document-Based Application
-
Chapter 12 To Do: Basics
- The Design of To Do
- Build the Application
-
Chapter 13 To Do: Extended
- Create and Manage an Info Window
- Create SelectionNotifyMatrix
- Data Synchronization
- Create a Custom View to Display ToDoItem Status
- Set Up Timers
- Implement Archiving and Unarchiving (Save and Open)
-
Chapter 14 To Do: Finishing Touches
- Configure Application Settings
- Add an Application Icon
- Define a Document Type for To Do
- Enable Compiler Optimization
-
Reference
-
Appendix A Drawing in Cocoa
- Coordinate Systems
- Transformation Matrices
- NSView
- Draw NSStrings
- NSBezierPath
- Draw with NSBezierPath
- Draw with Quartz Primitives
-
Colophon
Return to Learning Cocoa