NextPrevTopIndex

Contents

1 Introduction to the Objective-C Interface

1.1 Introduction

1.1.1 Initialization

1.2 Objective-C data types

1.2.1 Objective-C pointers and pointer types

1.2.2 Integer and boolean types

1.2.3 Structure types

1.3 Invoking Objective-C methods

1.3.1 Simple calls to instance and class methods

1.3.2 Method naming

1.3.3 Special argument and result conversion

1.3.4 Invoking a method that returns a boolean

1.3.5 Invoking a method that returns a structure

1.3.6 Invoking a method that returns a string or array

1.3.7 Invoking a method that returns values by reference

1.3.8 Determining whether a method exists

1.3.9 Memory management

1.3.10 Selectors

1.4 Defining Objective-C classes and methods

1.4.1 Objects and pointers

1.4.2 Defining an Objective-C class

1.4.3 Defining Objective-C methods

1.4.3.1 Special method argument and result conversion

1.4.3.2 Defining a method that returns a structure

1.4.4 How inheritance works

1.4.5 Invoking methods in the superclass

1.4.6 Abstract classes

1.4.7 Instance variables

1.4.8 Memory management

1.4.9 Using and declaring formal protocols

2 Objective-C Reference

alloc-init-object

autorelease

can-invoke-p

coerce-to-objc-class

coerce-to-selector

current-super

define-objc-class

define-objc-class-method

define-objc-method

define-objc-protocol

define-objc-struct

description

ensure-objc-initialized

invoke

invoke-bool

invoke-into

make-autorelease-pool

objc-bool

objc-c-string

objc-class

objc-class-name

objc-object-destroyed

objc-object-from-pointer

objc-object-pointer

objc-object-pointer

objc-object-var-value

release

retain

retain-count

sel

selector-name

standard-objc-object

trace-invoke

untrace-invoke

with-autorelease-pool

3 The Cocoa Interface

3.1 Introduction

3.2 Types

3.3 Observers

4 Cocoa Reference

add-observer

ns-not-found

ns-point

ns-range

ns-rect

ns-size

remove-observer

set-ns-point*

set-ns-range*

set-ns-rect*

set-ns-size*

Index

 


LispWorks Objective-C and Cocoa Interface User Guide and Reference Manual - 29 Feb 2008

NextPrevTopIndex