remove(from:forMode:)
Removes a mode’s display link from a run loop.
Declaration
func remove(from runloop: RunLoop, forMode mode: RunLoop.Mode)Parameters
- runloop:
A run loop the method disassociates the display link from for
mode. - mode:
A run loop mode the method disassociates the display link for
runloop.
Discussion
The run loop releases the display link if it no longer associates with any run modes.