猎豆优选

ActivityIndicatorView.h 646B

12345678910111213141516171819202122232425262728293031
  1. //
  2. // ActivityIndicatorView.h
  3. // DGActivityIndicatorExample
  4. //
  5. // Created by 小花 on 2018/11/1.
  6. // Copyright © 2018年 Danil Gontovnik. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface ActivityIndicatorView : UIView
  11. - (id)initWithTintColor:(NSArray *)tintColors size:(CGFloat)size;
  12. + (instancetype)showInView:(UIView *)superView frame:(CGRect)frame;
  13. + (instancetype)shareIndicatorView;
  14. @property (nonatomic, strong) NSArray *tintColors;
  15. @property (nonatomic) CGFloat size;
  16. @property (nonatomic, readonly) BOOL animating;
  17. - (void)startAnimating;
  18. - (void)stopAnimating;
  19. @end
  20. NS_ASSUME_NONNULL_END