All Manuals > LispWorks Objective-C and Cocoa Interface User Guide and Reference Manual

NextPrevTopContents

Index

A

abstract classes 15

add-observer function 63

addObserver:selector:name:object: Objective-C method 63

alloc Objective-C method 10 , 17 , 56

alloc-init-object function 17

allocWithZone: Objective-C method 10 , 56

Apple Interface Builder 61

argument conversion 4 , 12

array return type 6

associated objects 9 , 10 , 13 , 16

autorelease function 8 , 18

autorelease Objective-C method 8

autorelease pools 8

B

boolean return type 5

boolean type 3

C

can-invoke-p function 7 , 8 , 18

class methods 3

classes

abstract 15

cocoa-view-pane 72

defining 9

standard-objc-object 2 , 9 , 22 , 55

Cocoa application 60

cocoa-view-pane class 72

coerce-to-objc-class function 10 , 19

coerce-to-selector function 8 , 20

constants

ns-not-found 64

conversion

argument and result 4 , 12

current-super macro 14 , 20

D

data types 2

define-c-struct macro 3

define-objc-class macro 9 , 13 , 15 , 21

define-objc-class-method macro 11 , 14 , 24

define-objc-method macro 11 , 14 , 26

define-objc-protocol macro 16 , 31

define-objc-struct macro 3 , 5 , 13 , 32

defining

classes 9

methods 11

protocols 16

structures 3

description function 33

E

ensure-objc-initialized function 1 , 34

F

foreign types

ns-point 12 , 59 , 64

ns-range 12 , 59 , 65

ns-rect 6 , 12 , 59 , 65

ns-size 12 , 59 , 66

objc-at-question-mark 43

objc-bool 3 , 12 , 44

objc-c++-bool 45

objc-class 2 , 9 , 13 , 45

objc-c-string 2 , 12 , 44

objc-object-pointer 2 , 6 , 9 , 12 , 13 , 49

objc-unknown 52

sel 2 , 8 , 54

functions

add-observer 63

alloc-init-object 17

autorelease 8 , 18

can-invoke-p 7 , 8 , 18

coerce-to-objc-class 10 , 19

coerce-to-selector 8 , 20

description 33

ensure-objc-initialized 1 , 34

invoke 3 , 4 , 5 , 6 , 7 , 14 , 35

invoke-bool 5 , 39

invoke-into 5 , 6 , 39

make-autorelease-pool 8 , 42

objc-class-method-signature 46

objc-class-name 47

objc-object-destroyed 16 , 48

objc-object-from-pointer 9 , 48

objc-object-pointer 9 , 10 , 50

objc-object-var-value 16 , 51

release 8 , 52

remove-observer 66

retain 8 , 53

retain-count 8 , 53

selector-name 8 , 54

set-ns-point* 59 , 67

set-ns-range* 59 , 68

set-ns-rect* 59 , 68

set-ns-size* 59 , 69

trace-invoke 56

untrace-invoke 57

I

@implementation 11

inheritance 13

init Objective-C method 10 , 17 , 56

:init-function initarg 10 , 55

initialization 1

instance methods 3

instance variables 15 , 51

integer types 3

@interface 11

invoke function 3 , 4 , 5 , 6 , 7 , 14 , 35

invoke-bool function 5 , 39

invoke-into function 5 , 6 , 39

invoking methods 3

M

macros

current-super 14 , 20

define-c-struct 3

define-objc-class 9 , 13 , 15 , 21

define-objc-class-method 11 , 14 , 24

define-objc-method 11 , 14 , 26

define-objc-protocol 16 , 31

define-objc-struct 3 , 5 , 13 , 32

with-autorelease-pool 8 , 57

make-autorelease-pool function 8 , 42

memory management

foreign objects 8

Lisp objects 16

methods

check for existence 7

defining 11

inheritance 13

instance and class 3

invoking 3

naming 4 , 11

multiple inheritance 15

N

nib file 61

NSArray Objective-C class 6 , 13 , 28 , 30 , 37 , 40 , 41 , 42

ns-not-found constant 64

NSObject Objective-C class 8 , 10 , 14 , 22

ns-point foreign type 12 , 59 , 64

ns-range foreign type 12 , 59 , 65

ns-rect foreign type 6 , 12 , 59 , 65

ns-size foreign type 12 , 59 , 66

NSString Objective-C class 6 , 13 , 28 , 30 , 36 , 40

O

objc-at-question-mark foreign type 43

objc-bool foreign type 3 , 12 , 44

objc-c++-bool foreign type 45

objc-class foreign type 2 , 9 , 13 , 45

objc-class-method-signature function 46

:objc-class-name class option 9 , 22

objc-class-name function 47

objc-c-string foreign type 2 , 12 , 44

:objc-instance-vars class option 15 , 22

objc-object-destroyed function 16 , 48

objc-object-from-pointer function 9 , 48

objc-object-pointer foreign type 2 , 6 , 9 , 12 , 13 , 49

objc-object-pointer function 9 , 10 , 50

objc-object-pointer reader function 55

objc-object-var-value function 16 , 51

:objc-protocols class option 16 , 23

:objc-superclass-name class option 14 , 22

objc-unknown foreign type 52

Objective-C classes

NSArray 6 , 13 , 28 , 30 , 37 , 40 , 41 , 42

NSObject 8 , 10 , 14 , 22

NSString 6 , 13 , 28 , 30 , 36 , 40

Objective-C methods

addObserver:selector:name:object: 63

alloc 10 , 17 , 56

allocWithZone: 10 , 56

autorelease 8

init 10 , 17 , 56

release 8

removeObserver:name:object: 67

respondsToSelector: 7 , 8

retain 8

retainCount 8

objects and pointers 9

P

:pointer initarg 55

pointer types 2

pointers and objects 9

protocols 16

R

reader functions

objc-object-pointer 55

reference count 8 , 16

release function 8 , 52

release Objective-C method 8

remove-observer function 66

removeObserver:name:object: Objective-C method 67

respondsToSelector: Objective-C method 7 , 8

result conversion 4 , 12

retain function 8 , 53

retain Objective-C method 8

retain-count function 8 , 53

retainCount Objective-C method 8

return types

array 6

boolean 5

string 6

structure 5 , 13 , 41

unsigned char * 41

S

sel foreign type 2 , 8 , 54

selector-name function 8 , 54

selectors 8

Self-contained examples

Cocoa and CAPI 72

Cocoa classes 72

definitions 71

nib files 72

set-ns-point* function 59 , 67

set-ns-range* function 59 , 68

set-ns-rect* function 59 , 68

set-ns-size* function 59 , 69

standard-objc-object class 2 , 9 , 22 , 55

string return type 6

strings 5 , 6

structure return type 5 , 13 , 41

structure types 3

super 14

T

trace-invoke function 56

U

unsigned char *

return type 41

untrace-invoke function 57

W

with-autorelease-pool macro 8 , 57


LispWorks Objective-C and Cocoa Interface User Guide and Reference Manual - 15 Feb 2015

NextPrevTopContents