ZoomAnimatorDelegate
protocol ZoomAnimatorDelegate : AnyObject
Either the source or destination controller for a zoom animation using a ZoomAnimator
-
A function called just before the animation begins.
Declaration
Swift
func transitionWillStartWith(zoomAnimator: ZoomAnimator)
-
A function called just after the animation begins.
Declaration
Swift
func transitionDidEndWith(zoomAnimator: ZoomAnimator)
-
A function expected to return the image view that is being zoomed from or to (depending on the if the controller is the source or destination).
Declaration
Swift
func referenceImageView(for zoomAnimator: ZoomAnimator) -> UIImageView?
-
A function expected to return the frame of the image view in the transitioning view.
Declaration
Swift
func referenceImageViewFrameInTransitioningView(for zoomAnimator: ZoomAnimator) -> CGRect?