INDEX


Symbols

#import directive 66, 150

// comment marker 150

@class directive 66, 151, 161

@defs() directive 117, 151, 164

@encode() directive 118-120, 151, 165

@end directive 64, 150, 161

@implementation directive 68, 150, 152, 153, 161

@interface directive 64, 150, 152, 161

@private directive 72-74, 151, 162

@protected directive 72-74, 151, 162

@protocol directive 99, 150, 153, 161

@protocol() directive 100, 151, 153, 165

@public directive 72-74, 151, 162

@selector() directive 77, 151, 165

A

abstract classes 55

action messages 79

adopting protocols 99-100, 153

+ alloc method 59, 127

allocating instances 58-59, 127

+ allocFromZone: method 127

anonymous objects 96-97

arguments, variable number of 48, 66, 69

B

BOOL data type 149

bycopy type qualifier 111, 121, 153, 164

C

C++, using with Objective C 45

categories 91-94

declaration of 91-92, 152, 161
implementation of 92, 152, 161
uses of 92-93, 98-99
Class data type 58, 149

@class directive 66, 151, 161

+ class method 58

- class method 58

class methods 57, 65

class objects 51, 57-??, 62

classes 18-21, 51-74

declaration of 64-68, 151, 161
implementation of 68-74, 152, 161
_cmd 81, 154

// comment marker 150

conforming to protocols 94, 101, 103-104

- conformsTo: method 101, 103

customizing

with class objects 59-60

D

@defs() directive 117, 151, 164

designated initializer 134-137

distributed objects 106-111

dynamic binding 29-31, 50-51, 74-77

dynamic loading 31-32, 145-??

dynamic typing 28-29, 46-47

E

encapsulation 21-22

@encode() directive 151, 165, 118-120

@end directive 64, 150, 161

events 35

F

- forward:: method 140-142

forwarding 140-??

H

hidden arguments See self and _cmd

I

id data type 46-47, 56, 114, 149, 154, 164

IMP data type 149

implementation and interface 11-14, 39

@implementation directive 68, 150, 152, 153, 161

#import directive 66, 150

in type qualifier 109-110, 121, 153, 164

information hiding See encapsulation

inheritance 24-27, 40, 51-55

- init method 59, 130-137

+ initialize method 61

initializing

classes 61
instances 59, 130-??
inout type qualifier 109-110, 121, 153, 164

instance methods 57, 65

instance variables 15, 45-46

declaration of 64, 151, 162
inheriting 53-54
of the receiver 49
outlets 33-35
referring to 69-74
scope of 71-74
instances of a class 51

allocating 58-59, 127-??
initializing 59, 130-??
interface and implementation 11-14, 39

@interface directive 64, 150, 152, 161

introspection 47, 56-57

isa instance variable 47, 75

- isKindOf: method 57, 143

- isMemberOf: method 56

L

late binding 30

M

message expressions 47, 149

message receiver 17, 47, 149

messages 16, 17-18, 47-49, 149

messaging 50-51, 74-77

- methodFor: method 117

methods 15, 45-46

class methods 57, 65
declaration of 65-66, 154, 162
implementation of 68-69, 154, 163
inheriting 54-55
instance methods 57, 65
of the root class 62-??
overriding 25-26, 54-55
return and argument types 78, 115

N

naming conventions 155

nil 46, 49, 150

NXDefaultMallocZone() function 128

O

objc_lookUpClass() function 63

objc_msgSend() function 74

Object class 52, 53

objects 15-16, 45-46

oneway type qualifier 107-108, 121, 153, 164

out type qualifier 109-110, 121, 153, 164

outlet instance variables 33-35

overriding methods 25-26, 54-55

P

- perform: method 78-79

- perform:with: method 78-79

- perform:with:with: method 78-79

- performv:: method ??-142

polymorphism 22-24, 40, 49-50

@private directive 72-74, 151, 162

@protected directive 72-74, 151, 162

@protocol directive 99, 150, 153, 161

Protocol objects 100-101

@protocol() directive 100, 151, 153, 165

protocols 94-104

adopting 99-100, 153
conforming to 94, 101, 103-104
declaration of 99-100, 153, 161
formal 99-104, 153-154
incorporating other protocols 103-104, 153
informal 98-99
type checking 102-103
uses of 95-98, 107
proxy objects 106-111

@public directive 72-74, 151, 162

R

receiver of a message 17, 47, 149

remote messages 105-111

- respondsTo: method 80, 143

reusability of software 20-21

S

SEL data type 77, 149

sel_getName() function 78

sel_getUid() function 77

@selector() directive 77, 151, 165

selectors 50, 77-78

self 81-85, 86-87, 154, 164

static typing 56, 62, 113-116

subclasses 24, 25-26, 52

super 82-86, 149, 154, 165

superclass 24, 52

surrogate objects 143

T

target-action paradigm 79-80

targets 80

type checking

class types 114-115
protocol types 102-103

Z

- zone method 129

zones 127-??


Last Modified: 01:39pm , January 13, 1996