43 lines
1.3 KiB
Objective-C
43 lines
1.3 KiB
Objective-C
//
|
|
// TFPromptManager.h
|
|
// TFReader
|
|
//
|
|
// Created by 谢腾飞 on 2020/12/10.
|
|
// Copyright © 2020 xtfei_2011@126.com. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "TFPromptView.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface TFPromptManager : NSObject
|
|
|
|
+ (void)showPromptViewWithStatus:(TFPromptStatus)status promptTitle:(NSString *)promptTitle;
|
|
|
|
+ (void)showLimitPromptViewWithStatus:(TFPromptStatus)status promptTitle:(NSString *)promptTitle;
|
|
|
|
+ (void)showPromptViewWithStatus:(TFPromptStatus)status promptTitle:(NSString *)promptTitle duration:(CGFloat)duration;
|
|
|
|
+ (void)showPromptViewWithStatus:(TFPromptStatus)status promptTitle:(NSString *)promptTitle completionHandler:(TFPromptDissmissBlock)completionHandler;
|
|
|
|
+ (void)showPromptViewWithStatus:(TFPromptStatus)status promptTitle:(NSString *)promptTitle duration:(CGFloat)duration completionHandler:(TFPromptDissmissBlock)completionHandler;
|
|
|
|
+ (void)showPromptWithError:(NSError *)error defaultText:(NSString * _Nullable)text;
|
|
|
|
+ (void)showPromptViewWithPromptMaskType:(TFPromptMaskType)type loadingStyle:(TFPromptStyle)style;
|
|
|
|
+ (void)stopAnimating;
|
|
|
|
+ (void)hiddenAlert;
|
|
|
|
// 展示小说阅读器Loading(仅限小说阅读器使用)
|
|
+ (UIView *)showLoading:(UIView * _Nullable)rootView;
|
|
|
|
// 隐藏小说阅读器Loading(仅限小说阅读器使用)
|
|
+ (void)hideLoading;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|