By Apple Computer Inc Publisher: O'Reilly Media Released: May 2001 Pages: 384
Cocoa is one of the principal application environments for Mac® OS X. Among Cocoa's many attributes, its advanced object-oriented APIs allow you to develop in both Java and Objective-C. This revolutionary new way of developing sophisticated applications for the Macintosh is both powerful and easy. With Learning Cocoa you'll become familiar with Cocoa application development, using Objective C, not merely by reading, but by doing. The book begins with a discussion of essential object-oriented programming concepts for those with no previous experience. It proceeds through an introduction to the Cocoa environment, development, tools, and some simple tutorials to help you become familiar with the basic elements of Cocoa programming. The remaining tutorials guide you as you create a series of increasingly complex example applications. The techniques and concepts you learn in one tutorial lay the foundation for the more advanced techniques and concepts in the next. You don't need extensive programming experience to complete the examples in this book, though it would be helpful to have some experience with the C programming language. The code for each example is included in the text so you can simply type it in. If you're already familiar with an object-oriented programming language like Java or Smalltalk, you'll quickly feel right at home with Objective-C, the language used throughout this book. As you ease your way into the experience of Cocoa programming, you're encouraged to play, to explore, to "kick the tires." You'll finish this book much better prepared to take on serious application development with Cocoa, and you'll find Apple's development environment not only less mysterious, but one that you'll be eager to program in. Written by insiders at Apple Computer, the book brings you information that you can't get anywhere else--and a potential leg up in the Mac OS X application development market. |
-
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 Drawing in Cocoa - Coordinate Systems
- Transformation Matrices
- NSView
- Draw NSStrings
- NSBezierPath
- Draw with NSBezierPath
- Draw with Quartz Primitives
-
Colophon |
- Title:
- Learning Cocoa
- By:
- Apple Computer Inc
- Publisher:
- O'Reilly Media
- Formats:
-
- Print
- Safari Books Online
- Print:
- May 2001
- Pages:
- 384
- Print ISBN:
- 978-0-596-00160-5
- | ISBN 10:
- 0-596-00160-6
|
Colophon 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 Learning Cocoa is an Irish setter. Bred as a sporting dog in the early 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 dog. 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. Ann Schirmer was the production editor and proofreader for Learning Cocoa. Norma Emory was the copyeditor. Claire Cloutier, Jeffrey Holcomb, and Sarah Jane Shangraw provided quality control. Judy Hoer wrote the index. Interior composition was done by Claire Cloutier and Ann Schirmer. 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. Melanie Wang designed the interior layout based on a series design by Nancy Priest. Jason McIntosh converted Learning Cocoa into DocBook XML from Apple's native XML format and formatted the book with a program created by Norman Walsh, Lenny Muellner, and Erik Ray. The text and heading fonts are ITC Garamond Light and Garamond Book; the code font is Constant Willison. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. This colophon was written by Ann Schirmer. |
|
Description
|
Table of Contents
|
Product Details
|
Colophon
|
 |
|
 |
|
|
|
Recommended for You
|
Recently Viewed
|
 |
|
By Paul Albitz, Cricket Liu
April 2001
By William Crawford, Jim Farley, David Flanagan
April 2002
|
Customer Reviews
By Jo Davidson from Undisclosed By Steve Neumann from Undisclosed By Dave Wu from Undisclosed By the Mac Enthusiast from Undisclosed By Rob Stevenson from Undisclosed By E. Wang from Undisclosed By Dr. Scott Steinman from Undisclosed By Zootbobbalu from Undisclosed By Martin Bauer from Undisclosed By Been There, Done that. from Undisclosed
|
|
|