Contents

displayLink(target:selector:)

Returns a new display link whose callback will be invoked in-sync with the display the window is on.

Declaration

func displayLink(target: Any, selector: Selector) -> CADisplayLink

Discussion

If the window is not on any display the callback will not be invoked.

See Also

Accessing Window Information