Handbook
Glossary
pasteboard-string? ( pasteboard -- ? )
Cocoa bridge
ยป
Cocoa pasteboard utilities
Next:
pasteboard-string ( pasteboard -- str )
Vocabulary
cocoa
.
pasteboard
Inputs
pasteboard
an
NSPasteBoard
Outputs
?
a
boolean
Word description
Tests if the pasteboard holds a string.
Definition
USING:
cocoa.messages
cocoa.runtime
core-foundation.strings
kernel
sequences
;
IN:
cocoa.pasteboard
:
pasteboard-string?
( pasteboard -- ? )
NSStringPboardType
swap
{
id
{
id
SEL
}
}
"types"
send
CF>string-array
member?
;