FWPopupMenuAnimationManager

@protocol FWPopupMenuAnimationManager <NSObject>

/**
 动画类型,默认FWPopupMenuAnimationStyleScale
 */
@property (nonatomic, assign) FWPopupMenuAnimationStyle style;

/**
 显示动画,自定义可用
 */
@property (nonatomic, strong, nullable) CAAnimation * showAnimation;

/**
 隐藏动画,自定义可用
 */
@property (nonatomic, strong, nullable) CAAnimation * dismissAnimation;

/**
 弹出和隐藏动画的时间,Default is 0.25
 */
@property CFTimeInterval duration;

@property (nonatomic, weak, nullable) UIView * animationView;

+ (id <FWPopupMenuAnimationManager>)manager;

- (void)displayShowAnimationCompletion:(nullable void (^) (void))completion;

- (void)displayDismissAnimationCompletion:(nullable void (^) (void))completion;

@end

Undocumented

  • 动画类型,默认FWPopupMenuAnimationStyleScale

    Declaration

    Objective-C

    @property (nonatomic) FWPopupMenuAnimationStyle style;
  • 显示动画,自定义可用

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) CAAnimation *showAnimation;
  • 隐藏动画,自定义可用

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) CAAnimation *dismissAnimation;
  • 弹出和隐藏动画的时间,Default is 0.25

    Declaration

    Objective-C

    @property CFTimeInterval duration;
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, weak, nullable) UIView * animationView
  • Undocumented

    Declaration

    Objective-C

    + (id <FWPopupMenuAnimationManager>)manager;
  • Undocumented

    Declaration

    Objective-C

    - (void)displayShowAnimationCompletion:(nullable void (^) (void))completion;
  • Undocumented

    Declaration

    Objective-C

    - (void)displayDismissAnimationCompletion:(nullable void (^) (void))completion;