Learning Cocoa with Objective-C

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

Full description

Bibliographic Details
Main Author: Inc, Apple Computer (-)
Corporate Author: Apple Computer, Inc Content Provider (content provider)
Other Authors: Davidson, James Duncan
Format: eBook
Language:Inglés
Published: Sebastopol : O'Reilly Media 2002.
Edition:2nd ed
Subjects:
See on Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009627249906719
Table of Contents:
  • Table of Contents; Preface; Audience; Who Should Read This Book; Who Should Not Read This Book; What You Need to Know; About the Example Code; How This Book Is Organized; Part I, Cocoa Overview and Foundation; Part II, Single-Window Applications; Part III, Document-Based Applications; Part IV, Miscellaneous Topics; Part V, Appendixes; How to Use This Book; Conventions Used in This Book; How to Contact Us; Acknowledgments; Part I; Introduction to Cocoa; The Mac OS X Programming Environment; Cocoa Defined; The History of Cocoa; Cocoa's Feature Set; The Cocoa Frameworks; Languages; Objective-C
  • JavaAppleScript; The Foundation Framework; Programming Types and Operations; Operating System Entities and Services; Object Functionality; File and I/O Management; Other Services; The Application Kit Framework; User Interface; Feature Integration; Other Facilities; Cocoa Development Tools; Installing the Developer Tools; Installing from the Developer Tools CD; Installing from the ADC Site; Upgrading Your Tools; Project Builder; Say "Hello, World"; Open Project Builder; Creating a new project; Building the project; Solving build problems; Running the application; Using the Debugger
  • Interface BuilderGraphical "Hello, World"; Open the main nib file; Other Tools; Command-Line Tools; Exercises; Object-Oriented Programming with Objective-C; Introducing Objects; Classes of Objects; Inheritance; Creating and Using Objects; Working with Multiple Objects; Methods and Messages; Arguments in Messages; Nested Messages; How Messaging Works; Objective-C-Defined Types; Creating New Classes; Defining the Song Interface; Defining the Song Implementation; Using the Song Class; Overriding Methods; Calling Superclass Methods; Object Creation; Designated initializers; Object Deallocation
  • Other ConceptsExercises; The Cocoa Foundation Kit; Strings; Basic String Operations; Setting breakpoints and debugging; Working with Portions of a String; Mutable Strings; Working with Files; Collections; Arrays; Using the debugger to explore NSArray; Mutable Arrays; Exploring NSMutableArray with the debugger; Arrays and the Address Book; Sets; Dictionaries; Mutable Dictionaries; Storing Collections as Files; Memory Management; Object Initialization and Deallocation; Reference Counting; Autorelease Pools; Retaining Objects in Accessor Methods; Rules of Thumb; Exercises; Part II
  • Graphical User InterfacesGraphical User Interfaces in Cocoa; Windows; Nib Files; Outlets; Actions; Designing Applications Using MVC; MVC in Currency Converter's Design; 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; Create the Controller Class
  • Define outlets for the controller