CSJProgressHUD.h 661 B

123456789101112131415161718192021222324252627
  1. //
  2. // CSJProgressHUD.h
  3. // CSJAdSDK
  4. //
  5. // Created by cuiyanan on 2019/10/14.
  6. // Copyright © 2019 bytedance. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. typedef NS_ENUM(NSInteger, BUNumberOfLine) {//需要指定每行的内容
  10. BUNumberOfLine_one = 1,// 展示单行
  11. BUNumberOfLine_two = 2,// 展示多行
  12. };
  13. NS_ASSUME_NONNULL_BEGIN
  14. @interface CSJProgressHUD : UIView
  15. @property (nonatomic, assign) BUNumberOfLine numberOfLine;
  16. @property (nonatomic, copy) NSString *firstLineString;
  17. @property (nonatomic, copy) NSString *secondLineString;
  18. - (void)showInView:(UIView *)parentView hiddenAfterDelay:(NSInteger)delay;
  19. @end
  20. NS_ASSUME_NONNULL_END