Create bookmark
Learning Cocoa with Objective-C
Notes
Please login to add notes
- Table of Contents
-
+
Preface
- Part I
-
+
Introduction to Cocoa
- + Cocoa Development Tools
-
+
Object-Oriented Programming with Objective-C
-
+
The Cocoa Foundation Kit
- Part II
-
+
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
-
+
Windows, Views, and Controls
-
+
Custom Views
-
+
Event Handling
-
+
Models and Data Functionality
- Part III
-
+
Multiple Document Architecture
-
+
Rich-Text Handling
- Part IV
- + Printing
- + Bundles and Resources
- + Localization
- + Defaults and Preferences
- + Accessory Windows
- + Finishing Touches
- Part V
-
+
Exercise Solutions
- Chapter2, Cocoa Development Tools
- Chapter3, Object-Oriented Programming with Objective-C
- Chapter4, The Cocoa Foundation Kit
- Chapter5, Graphical User Interfaces
- Chapter6, Windows, Views, and Controls
- Chapter7, Custom Views
- Chapter8, Event Handling
- Chapter9, Models and Data Functionality
- Chapter10, Multiple Document Architecture
- Chapter11, Rich-Text Handling
- Chapter12, Printing
- Chapter13, Bundles and Resources
- Chapter14, Localization
- Chapter15, Defaults and Preferences
- Chapter16, Accessory Windows
- Chapter17, Finishing Touches
- + Additional Resources
- + Using the Foundation and Application Kit API References
- Index
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
Each chapter ends with a series of Examples, challenging you to test your newly-learned skills by tweaking the application you've just built, or to go back to an earlier example and add to it some new functionality. Solutions are provided in the Appendix, but you're encouraged to learn by trying.
Extensive programming experience is not required to complete the examples in the book, though experience with the C programming language will be helpful. If you are familiar with an object-oriented programming language such as Java or Smalltalk, you will rapidly come up to speed with the Objective-C language. Otherwise, basic object-oriented and language concepts are covered where needed.
Test the closed alpha on paperc.com
Book Details
Authors
Apple Computer Inc and James Duncan Davidson
Categories
Computers > Operating Systems > Macintosh
Publishers
Publication year : 2010
License: All rights reserved ©
Times read: 2,062

