Handbook
Glossary
nib-objects ( anNSNib -- objects/f )
Vocabulary
cocoa
.
nibs
Inputs
anNSNib
an instance of NSNib
Outputs
objects/f
a
sequence
or
f
Word description
Instantiates the top-level objects of the
.nib
file loaded by anNSNib. First create an NSNib instance using
nib-named
.
See also
nib-named
Definition
USING:
alien.c-types
alien.data
cocoa.messages
cocoa.runtime
core-foundation.arrays
kernel
;
IN:
cocoa.nibs
:
nib-objects
( anNSNib -- objects/f )
f
{
void*
}
[
{
char
{
id
SEL
id
void*
}
}
"instantiateNibWithOwner:topLevelObjects:"
send
]
with-out-parameters
swap
[
CF>array
]
[
drop
f
]
if
;