AnimationDelegate

@objcMembers
@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

    public let block: (Bool) -> Void