Joy Online Manual

NAME
@selector - Objective-C selector expression

SYNOPSIS

@selector(selector)

DESCRIPTION
Converts a selector name to type SEL, like the Objective-C construct of the same name.

EXAMPLE

js> b = [[NSButton alloc] init]
(NSButton *)0x276ad0
js> s = @selector(title)
103396690
js> [b respondsToSelector: s]
1
js> [b performSelector: s]
Button
js> [b title]
Button

Index