BUGifImageView.h 788 B

1234567891011121314151617181920212223242526
  1. //
  2. // TTGifImageView.h
  3. // Article
  4. //
  5. // Created by carl on 2017/5/21.
  6. //
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "BUGifImage.h"
  10. @protocol BUAnimationImageView
  11. @property (nonatomic, assign) BOOL repeats;
  12. @property (nonatomic, copy) void (^completionHandler)(BOOL);
  13. @property (nonatomic, strong, readonly) BUGifImage *gifImage;
  14. @property (nonatomic, assign) NSInteger currentPlayIndex;
  15. @property (nonatomic, assign) BOOL delayDuration;
  16. @end
  17. @interface BUGifImageView : UIImageView <BUAnimationImageView>
  18. @property (nonatomic, assign) BOOL repeats;
  19. @property (nonatomic, copy) void (^completionHandler)(BOOL);
  20. @property (nonatomic, strong, readonly) BUGifImage *gifImage;
  21. @property (nonatomic, assign) NSInteger currentPlayIndex;
  22. @property (nonatomic, assign) BOOL delayDuration;
  23. @end