// // ActivityIndicatorView.h // DGActivityIndicatorExample // // Created by 小花 on 2018/11/1. // Copyright © 2018年 Danil Gontovnik. All rights reserved. // #import NS_ASSUME_NONNULL_BEGIN @interface ActivityIndicatorView : UIView - (id)initWithTintColor:(NSArray *)tintColors size:(CGFloat)size; + (instancetype)showInView:(UIView *)superView frame:(CGRect)frame; + (instancetype)shareIndicatorView; @property (nonatomic, strong) NSArray *tintColors; @property (nonatomic) CGFloat size; @property (nonatomic, readonly) BOOL animating; - (void)startAnimating; - (void)stopAnimating; @end NS_ASSUME_NONNULL_END