FWAnimationWrapper

@interface FWAnimationWrapper : FWObjectWrapper

Undocumented

FWQuartzCore

  • 设置动画开始回调,需要在add之前添加,因为add时会自动拷贝一份对象

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) void (^)(CAAnimation *_Nonnull) startBlock;
  • 设置动画停止回调

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) void (^) (CAAnimation *_Nonnull, BOOL) stopBlock;