A string naming an Objective-C class or a pointer to an Objective-C foreign object.
A string naming the method to invoke.
Arguments to the method.
The function
invoke-bool
is used to call Objective-C instance and class methods that return the type
BOOL
. It behaves identically to invoke, except that if the return value is
NO
then
nil
is returned, otherwise
t
is returned.