remove(from:forMode:)
Removes the receiver from the run loop mode mode of runLoop.
Declaration
func remove(from runLoop: RunLoop, forMode mode: RunLoop.Mode)Parameters
- runLoop:
The run loop from which to remove the receiver.
- mode:
The run loop mode from which to remove the receiver.
Discussion
When the receiver is removed, the run loop stops monitoring the Mach port for incoming messages.