Book description
Learning Cocoa with Objective-C is the "must-have" book for people who want to develop applications for Mac OS X, and is the only book approved and reviewed by Apple engineers. Based on the Jaguar release of Mac OS X 10.2, this edition of Learning Cocoa includes examples that use the Address Book and Universal Access APIs. Also included is a handy quick reference card, charting Cocoa's Foundation and AppKit frameworks, along with an Appendix that includes a listing of resources essential to any Cocoa developer--beginning or advanced.Completely revised and updated, this 2nd edition begins with some simple examples to familiarize you with the basic elements of Cocoa programming as well Apple's Developer Tools, including Project Builder and Interface Builder.After introducing you to Project Builder and Interface Builder, it brings you quickly up to speed on the concepts of object-oriented programming with Objective-C, the language of choice for building Cocoa applications. From there, each chapter presents a different sample program for you to build, with easy to follow, step-by-step instructions to teach you the fundamentals of Cocoa programming. The techniques you will learn in each chapter lay the foundation for more advanced techniques and concepts presented in later chapters.You'll learn how to:
- Effectively use Apple's suite of Developer Tools, including Project Builder and Interface Builder
- Build single- and multiple-window document-based applications
- Manipulate text data using Cocoa's text handling capabilities
- Draw with Cocoa
- Add scripting functionality to your applications
- Localize your application for multiple language support
- Polish off your application by adding an icon for use in the Dock, provide Help, and package your program for distribution
Publisher resources
Table of contents
- A Note Regarding Supplemental Files
- Preface
-
I. Cocoa Overview and Foundation
- 1. Introduction to Cocoa
- 2. Cocoa Development Tools
- 3. Object-Oriented Programming with Objective-C
- 4. The Cocoa Foundation Kit
-
II. Single-Window Applications
-
5. Graphical User Interfaces
- Graphical User Interfaces in Cocoa
- Designing Applications Using MVC
- Create the Currency Converter Project
-
Create the Interface
- Open the Main Nib File
- Resize the Window
- Set the Window’s Title and Attributes
- Place the Text Fields
- Duplicating Objects
- Change the Attributes of a Text Field
- Add Text Labels
- Add a Button to the Interface
- Adding a Decorative Line
- Setting the Initial First Responder and Enabling Tabbing
- Test the Interface
- Define the Classes
- Connect the Model, Controller, and View
- Implement the Classes
- Build and Run
- Exercises
- 6. Windows, Views, and Controls
- 7. Custom Views
- 8. Event Handling
- 9. Models and Data Functionality
-
5. Graphical User Interfaces
- III. Document-Based Applications
- IV. Miscellaneous Topics
- V. Appendixes
- Index
- About the Authors
- Colophon
- Copyright
Product information
- Title: Learning Cocoa with Objective-C, 2nd Edition
- Author(s):
- Release date: September 2002
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596003012
You might also like
book
Learning Cocoa with Objective-C, 4th Edition
Get up to speed on Cocoa and Objective-C, and start developing applications on the iOS and …
book
Learning Cocoa
Cocoa™ is one of the principal application environments for Mac® OS X. Among Cocoa's many attributes, …
book
iOS and macOS™ Performance Tuning: Cocoa®, Cocoa Touch®, Objective-C®, and Swift™
In Marcel Weiher drills down to the code level to help you systematically optimize CPU, memory, …
book
Cocoa Programming for OS X: The Big Nerd Ranch Guide
Covering the bulk of what you need to know to develop full-featured applications for OS X, …