Handbook
Glossary
load-nib ( name -- )
Vocabulary
cocoa
.
nibs
Inputs
name
a
string
Outputs
None
Word description
Loads an Interface Builder
.nib
file with the given name.
Definition
USING:
alien.c-types
cocoa.application
cocoa.classes
cocoa.messages
cocoa.runtime
kernel
;
IN:
cocoa.nibs
:
load-nib
( name -- )
NSBundle
swap
<NSString>
NSApp
{
char
{
id
SEL
id
id
}
}
"loadNibNamed:owner:"
send
drop
;