Creates and executes a new thread based on the specified target and selector.
- macOS 10.0+
The selector whose code you want to execute in the new thread.
The object that defines the specified selector.
An optional argument you want to pass to the selector.
This method is a convenience wrapper for the
detach method of
Thread. This method automatically creates an
@autoreleasepool block for the new thread before invoking