Contents

remove(from:forMode:)

Removes the display link from the run loop for the given mode.

Declaration

func remove(from runloop: RunLoop, forMode mode: RunLoop.Mode)

Parameters

  • runloop:

    The run loop you associate with the display link.

  • mode:

    The run loop mode in which the display link is running.

Discussion

The run loop releases the display link if it’s no longer associated with any run modes.

See Also

Scheduling a Display Link to Send Notifications