iOS AILinkBleSDK - 蓝牙SDK
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

CABasicAnimation+ELAnimation.h 812B

1234567891011121314151617181920212223242526272829
  1. //
  2. // CABasicAnimation+ELAnimation.h
  3. // Elink
  4. //
  5. // Created by iot_user on 2019/1/23.
  6. // Copyright © 2019年 iot_iMac. All rights reserved.
  7. //
  8. #import <QuartzCore/QuartzCore.h>
  9. #define ELAnimationDuration 0.2
  10. NS_ASSUME_NONNULL_BEGIN
  11. @interface CABasicAnimation (ELAnimation)
  12. //缩放动画show
  13. +(CABasicAnimation *)scaleShowAnimationWithDuration:(CGFloat)duration;
  14. //缩放动画hide
  15. +(CABasicAnimation *)scaleHideAnimationWithDuration:(CGFloat)duration;
  16. //平移动画
  17. +(CABasicAnimation *)positionAnimationWithBeginPoint:(CGPoint)beginPoint withEndPoint:(CGPoint)endPoint;
  18. //旋转旋转动画
  19. +(CABasicAnimation *)rotationAnimationWithBeginValue:(CGFloat)beginValue endValue:(CGFloat)endValue;
  20. +(CABasicAnimation *)alphaAnimation;
  21. +(CABasicAnimation *)heightAnimation;
  22. @end
  23. NS_ASSUME_NONNULL_END