
Objective-C Pocket Reference
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
More details
Other editions
Additional editions

Content
- Intro
- Contents
- Objective-C Pocket Reference
- Introduction
- Typographic Conventions
- Acknowledgments
- What Is Objective-C?
- Dynamic Dispatch
- Dynamic Typing
- Dynamic Loading
- Which Objective-C?
- How Do I Get Started?
- Elements of the Language
- Objects
- Classes
- Declaring an interface
- Implementing a class
- Inheritance and Subtyping
- Fields
- Access modifiers
- Methods
- Declaring a method
- Implementing a method
- Calling a method
- Naming collisions
- Private methods
- Accessors
- Message search paths
- Special receivers
- Selectors
- Categories
- Declaring a category
- Implementing a category
- Protocols
- Declaring a protocol
- Adopting a protocol
- Checking for conformity to a protocol
- Informal protocols
- Declarations
- Dynamic typing
- Static typing
- Type qualifiers
- Predefined Types, Constants, and Variables
- Types
- Constants
- Variables
- Compiler and Preprocessor Directives
- Class Declarations and Definitions
- Forward Declarations
- Expanding Directives
- Using @encode
- Using @defs
- Using @"string
- Preprocessor Symbols
- Compiler Flags
- Remote Messaging
- Pointer Parameter Qualifiers
- Return Value Qualifiers
- Object Qualifiers
- Object Lifecycle
- Creating an Object
- Calling creation methods
- Writing creation methods
- Sample code for initialization
- Initializing classes
- Copying an Object
- Calling copy methods
- Writing copy methods
- Deallocating an Object
- Calling deallocation methods
- Writing deallocation methods
- Runtime Errors
- Object Error Handling
- Exceptions in Cocoa
- Keywords for handling exceptions
- A Cocoa exception handling example
- Runtime Environment
- Class Objects
- Metaclass Objects
- Selectors
- Protocol Objects
- Root Classes
- Fields
- Methods
- The Object Class
- Creating, copying, and freeing objects
- Identifying objects and classes
- Testing object type
- Testing inheritance and conformance
- Information about methods
- Sending messages
- Posing
- Enforcing intentions
- Error handling
- Archiving
- The NSObject Class
- Creating, copying, and freeing objects
- Identifying objects and classes
- Testing inheritance and conformance
- Information about methods
- Sending messages
- Posing
- Error handling
- Archiving
- Reference counting
- Forwarding Messages
- Object Forwarding
- NSObject Forwarding
- Memory Management
- Manual Memory Management
- Reference Counting
- Maintaining an object's reference count
- Creating a new object
- Receiving an object from another scope
- Returning an already-stored object
- Replacing an already-stored object
- Deallocating an object
- Retain cycles
- 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
System requirements
File format: ePUB
Copy protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePub works well for novels and non-fiction books – i.e., „flowing” text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our ebook Help page.