Objective-C Pocket Reference

Objective-C Pocket Reference

作者: Andrew Duncan
出版社: O'Reilly
出版在: 2003-01-14
ISBN-13: 9780596004231
ISBN-10: 0596004230
裝訂格式: Paperback
總頁數: 128 頁





內容描述


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.
Table of ContentsIntroduction

What Is Objective-C?
     Dynamic Dispatch
     Dynamic Typing
     Dynamic Loading
     Which Objective-C?
     How Do I Get Started?

Elements of the Language
     Objects
     Classes
     Inheritance and Subtyping
     Fields
     Methods
     Categories
     Protocols
     Declarations
     Predefined Types, Constants, and Variables

Compiler and Preprocessor Directives
     Class Declarations and Definitions
     Forward Declarations
     Expanding Directives
     Preprocessor Symbols

Compiler Flags

Remote Messaging
     Pointer Parameter Qualifiers
     Return Value Qualifiers
     Object Qualifiers

Object Lifecycle
     Creating an Object
     Copying an Object
     Deallocating an Object

Runtime Errors
     Object Error Handling
     Exceptions in Cocoa

Runtime Environment
     Class Objects
     Metaclass Objects
     Selectors
     Protocol Objects

Root Classes
     Fields
     Methods
     The Object Class
     The NSObject Class

Forwarding Messages
     Object Forwarding
     NSObject Forwarding

Memory Management
     Manual Memory Management
     Reference Counting
     Garbage Collection

Archiving Objects
     Archiving Descendants of Object
     Archiving Descendants of NSObject

Key-Value Coding
     Access Permissions
     NSKeyValueCoding Methods
     Handling Key Lookup Failures

Optimizing Method Calls

Objective-C++

Objective-C Resources

Index




相關書籍

iOS Auto Layout 開發秘籍, 2/e

作者 撒敦 (Erica Sadun)

2003-01-14

iOS 黑客攻防秘籍, 2/e

作者 陳德

2003-01-14

商用雲端APP基礎檢定術科認證應考指南--使用App Inventor 2

作者 國立中央大學管理學院 ERP中心 陳桂芬 劉建毓

2003-01-14