willMove(to:)
Called when the dynamic behavior is added to, or removed from, a dynamic animator.
Declaration
func willMove(to dynamicAnimator: UIDynamicAnimator?)Parameters
- dynamicAnimator:
The dynamic animator that the behavior is being added to, or
nilif being removed from an animator.
Discussion
Use this method as the override point for responding to changes in the UIKit Dynamics behavior tree that involve the dynamic behavior.