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) -> CADisplayLinkDiscussion
If the window is not on any display the callback will not be invoked.