MOLikeAnimation.h 638 B

12345678910111213141516171819202122232425
  1. //
  2. // MOLikeAnimation.h
  3. //
  4. #import <Foundation/Foundation.h>
  5. #import <UIKit/UIKit.h>
  6. @interface MOLikeAnimation : NSObject
  7. /** 获取单例对象*/
  8. + (instancetype)shareInstance;
  9. /** 系统touch来触发的动画*/
  10. - (void)mo_createAnimationWithTouch:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event withClickNum:(NSInteger)clickNum;
  11. /** 点击来触发的动画*/
  12. - (void)mo_createAnimationWithTap:(UITapGestureRecognizer *)tap;
  13. /// 根据点击数字 返回对应的图片
  14. + (UIImage *)getClickImageWith:(NSInteger)clickNum;
  15. //获取点击气泡的图片
  16. + (UIImage *)getClickBubbleImageWith:(NSInteger)clickNum;
  17. @end