AnimationDelegate
@objc(PESDKAnimationDelegate) open class AnimationDelegate: NSObject, CAAnimationDelegate
AnimationDelegate
can be used as the delegate of a CAAnimation
to easily specify a completion block.
-
The block that should be executed after a
CAAnimation
finishes.Declaration
Swift
open let block: (Bool) -> Void