Contents

addAction(target:selector:)

Adds an action with the specified target and selector to the UI update link.

Declaration

func addAction(target: Any, selector: Selector)

Discussion

This method adds the action to the beforeCADisplayLinkDispatch phase. To specify a different phase, use addAction(to:target:selector:) instead.

See Also

Adding actions