Link Search Menu Expand Document

PointerInteractionAnimating

An interface for modifying an interaction animation in coordination with the pointer effect animations.

public protocol PointerInteractionAnimating 

Requirements

addAnimations(_:​)

Adds the specified animation block to the animator.

func addAnimations(_ animations: @escaping () -> Void)

addCompletion(_:​)

Adds the specified completion block to the animator.

func addCompletion(_ completion: @escaping (Bool) -> Void)