Book description
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.
Publisher resources
Table of contents
- Objective-C Pocket Reference
-
1. Objective-C Pocket Reference
- 1.1. Introduction
- 1.2. What Is Objective-C?
-
1.3. Elements of the Language
- 1.3.1. Objects
- 1.3.2. Classes
- 1.3.3. Inheritance and Subtyping
- 1.3.4. Fields
- 1.3.5. Methods
- 1.3.6. Categories
- 1.3.7. Protocols
- 1.3.8. Declarations
- 1.3.9. Predefined Types, Constants, and Variables
- 1.4. Compiler and Preprocessor Directives
- 1.5. Compiler Flags
- 1.6. Remote Messaging
- 1.7. Object Lifecycle
- 1.8. Runtime Errors
- 1.9. Runtime Environment
-
1.10. Root Classes
- 1.10.1. Fields
- 1.10.2. Methods
-
1.10.3. The Object Class
- 1.10.3.1. Creating, copying, and freeing objects
- 1.10.3.2. Identifying objects and classes
- 1.10.3.3. Testing object type
- 1.10.3.4. Testing inheritance and conformance
- 1.10.3.5. Information about methods
- 1.10.3.6. Sending messages
- 1.10.3.7. Posing
- 1.10.3.8. Enforcing intentions
- 1.10.3.9. Error handling
- 1.10.3.10. Archiving
- 1.10.4. The NSObject Class
- 1.11. Forwarding Messages
- 1.12. Memory Management
- 1.13. Archiving Objects
- 1.14. Key-Value Coding
- 1.15. Optimizing Method Calls
- 1.16. Objective-C++
- 1.17. Objective-C Resources
- Index
- About the Author
- Copyright
Product information
- Title: Objective-C Pocket Reference
- Author(s):
- Release date: December 2002
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596004231
You might also like
book
Pro Objective-C
The Objective-C programming language continues to grow in popularity and usage because of the power and …
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
Objective-C for Absolute Beginners: iPhone, iPad and Mac Programming Made Easy
Learn Objective-C and its latest release, and learn how to mix Swift with it. You have …
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, …