Creates and executes a new thread based on the specified target and selector.
Original signature is '+ (void)detachDrawingThread:(SEL)selector toTarget:(id)target withObject:(id)argument'
Available in Mac OS X v10.0 and later.
Declaration Syntax
public static void DetachDrawingThreadToTargetWithObject(
IntPtr selector,
Id target,
Id argument
)
Public Shared Sub DetachDrawingThreadToTargetWithObject ( _
selector As IntPtr, _
target As Id, _
argument As Id _
)
public:
static void DetachDrawingThreadToTargetWithObject(
IntPtr selector,
Id^ target,
Id^ argument
)
Parameters
- selector (IntPtr)
- The selector whose code you want to execute in the new thread.
- target (Id)
- The object that defines the specified selector.
- argument (Id)
- An optional argument you want to pass to the selector.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)
Assembly:
Monobjc.AppKit (Module: Monobjc.AppKit)