Nenhuma Descrição

FKAddBasketAnimTool.h 694B

12345678910111213141516171819202122232425262728
  1. //
  2. // FKAddBasketAnimation.h
  3. // FirstLink
  4. //
  5. // Created by jack on 16/5/9.
  6. // Copyright © 2016年 FirstLink. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. typedef void(^animFinish)(void);
  10. @interface FKAddBasketAnimTool : NSObject
  11. <CAAnimationDelegate>
  12. @property (nonatomic, strong) NSString *picUrl;
  13. @property (nonatomic, strong) UIImage *image;
  14. @property (nonatomic, assign) CGFloat scale;
  15. @property (nonatomic, assign) CGFloat scaleDuration;
  16. @property (nonatomic, assign) CGFloat moveDuration;
  17. @property (nonatomic, assign) CGFloat margin;
  18. @property (nonatomic, copy) animFinish finishBlock;
  19. - (void)showInView:(UIView *)inView targetView:(UIView *)tagetView;
  20. @end