Starts the receiver.
- iOS 2.0+
- macOS 10.5+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
This method asynchronously spawns the new thread and invokes the receiver’s
main() method on the new thread. The
is property returns
true once the thread starts executing, which may occur after the
start() method returns.
If you initialized the receiver with a target and selector, the default
main() method invokes that selector automatically.
If this thread is the first thread detached in the application, this method posts the
NSWill with object
nil to the default notification center.