Objective-C Pocket Reference: A Guide to Language Fundamentals

Objective-C is an exciting and dynamic approach to C-based object-oriented programming; it's the approach adopted by Apple as the foundation for programming under Mac OS X, a Unix-based operating system gaining wide acceptance among programmers and other technologists. Objective-C is easy to learn and has a simple elegance that is a welcome breath of fresh air after the abstruse and confusing C++. To help you master the fundamentals of this language, you'll want to keep the Objective-C Pocket Reference close at hand. This small book contains a wealth of valuable information to speed you over the learning curve.In this pocket reference, author Andrew Duncan provides a quick and concise introduction to Objective-C for the experienced programmer. In addition to covering the essentials of Objective-C syntax, Andrew also covers important faces of the language such as memory management, the Objective-C runtime, dynamic loading, distributed objects, and exception handling.O'Reilly's Pocket References have become a favorite among programmers everywhere. By providing important details in a succinct, well-organized format, these handy books deliver just what you need to complete the task at hand. When you've reached a sticking point in your work and need to get to a solution quickly, the new Objective-C Pocket Reference is the book you'll want to have.

1100151493
Objective-C Pocket Reference: A Guide to Language Fundamentals

Objective-C is an exciting and dynamic approach to C-based object-oriented programming; it's the approach adopted by Apple as the foundation for programming under Mac OS X, a Unix-based operating system gaining wide acceptance among programmers and other technologists. Objective-C is easy to learn and has a simple elegance that is a welcome breath of fresh air after the abstruse and confusing C++. To help you master the fundamentals of this language, you'll want to keep the Objective-C Pocket Reference close at hand. This small book contains a wealth of valuable information to speed you over the learning curve.In this pocket reference, author Andrew Duncan provides a quick and concise introduction to Objective-C for the experienced programmer. In addition to covering the essentials of Objective-C syntax, Andrew also covers important faces of the language such as memory management, the Objective-C runtime, dynamic loading, distributed objects, and exception handling.O'Reilly's Pocket References have become a favorite among programmers everywhere. By providing important details in a succinct, well-organized format, these handy books deliver just what you need to complete the task at hand. When you've reached a sticking point in your work and need to get to a solution quickly, the new Objective-C Pocket Reference is the book you'll want to have.

7.99 In Stock
Objective-C Pocket Reference: A Guide to Language Fundamentals

Objective-C Pocket Reference: A Guide to Language Fundamentals

by Andrew Duncan
Objective-C Pocket Reference: A Guide to Language Fundamentals

Objective-C Pocket Reference: A Guide to Language Fundamentals

by Andrew Duncan

eBook

$7.99 

Available on Compatible NOOK devices, the free NOOK App and in My Digital Library.
WANT A NOOK?  Explore Now

Related collections and offers


Overview

Objective-C is an exciting and dynamic approach to C-based object-oriented programming; it's the approach adopted by Apple as the foundation for programming under Mac OS X, a Unix-based operating system gaining wide acceptance among programmers and other technologists. Objective-C is easy to learn and has a simple elegance that is a welcome breath of fresh air after the abstruse and confusing C++. To help you master the fundamentals of this language, you'll want to keep the Objective-C Pocket Reference close at hand. This small book contains a wealth of valuable information to speed you over the learning curve.In this pocket reference, author Andrew Duncan provides a quick and concise introduction to Objective-C for the experienced programmer. In addition to covering the essentials of Objective-C syntax, Andrew also covers important faces of the language such as memory management, the Objective-C runtime, dynamic loading, distributed objects, and exception handling.O'Reilly's Pocket References have become a favorite among programmers everywhere. By providing important details in a succinct, well-organized format, these handy books deliver just what you need to complete the task at hand. When you've reached a sticking point in your work and need to get to a solution quickly, the new Objective-C Pocket Reference is the book you'll want to have.


Product Details

ISBN-13: 9780596552190
Publisher: O'Reilly Media, Incorporated
Publication date: 12/19/2002
Sold by: Barnes & Noble
Format: eBook
Pages: 130
File size: 1 MB

About the Author

Andrew M. Duncan started programming in FORTRAN on Control Data 6600 hardware in 1974, and a quarter century later progressed to Mac OS X. He holds a Bachelor's degree in electrical engineering from the California Institute of Technology, and a Masters in mathematics from the University of California at Santa Cruz. He is now on leave from doctoral work on compilers at UC Santa Barbara. He currently works at Expertcity, designing the core class libraries.

Table of Contents

Introduction1
What Is Objective-C?3
Dynamic Dispatch4
Dynamic Typing4
Dynamic Loading5
Which Objective-C?5
How Do I Get Started?6
Elements of the Language7
Objects7
Classes8
Inheritance and Subtyping13
Fields14
Methods16
Categories26
Protocols29
Declarations31
Predefined Types, Constants, and Variables34
Compiler and Preprocessor Directives37
Class Declarations and Definitions37
Forward Declarations38
Expanding Directives39
Preprocessor Symbols43
Compiler Flags43
Remote Messaging44
Pointer Parameter Qualifiers45
Return Value Qualifiers46
Object Qualifiers46
Object Lifecycle46
Creating an Object47
Copying an Object53
Deallocating an Object57
Runtime Errors58
Object Error Handling58
Exceptions in Cocoa60
Runtime Environment64
Class Objects64
Metaclass Objects66
Selectors68
Protocol Objects69
Root Classes69
Fields70
Methods70
The Object Class71
The NSObject Class79
Forwarding Messages89
Object Forwarding90
NSObject Forwarding91
Memory Management94
Manual Memory Management94
Reference Counting95
Garbage Collection100
Archiving Objects100
Archiving Descendants of Object101
Archiving Descendants of NSObject103
Key-Value Coding107
Access Permissions107
NSKeyValueCoding Methods108
Handling Key Lookup Failures111
Optimizing Method Calls111
Objective-C++113
Objective-C Resources114
Index116
From the B&N Reads Blog

Customer Reviews