You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
511 B
32 lines
511 B
1 year ago
|
//
|
||
|
// JSToastDialogs.h
|
||
|
// tongxin
|
||
|
//
|
||
|
// Created by ecell on 2021/6/9.
|
||
|
// Copyright © 2021 xTT. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import <UIKit/UIKit.h>
|
||
|
|
||
|
NS_ASSUME_NONNULL_BEGIN
|
||
|
|
||
|
|
||
|
@interface DialogsLabel : UILabel
|
||
|
|
||
|
- (void)setMessageText:(NSString *)text;
|
||
|
|
||
|
@end
|
||
|
|
||
|
@interface JSToastDialogs : NSObject {
|
||
|
DialogsLabel *dialogsLabel;
|
||
|
NSTimer *countTimer;
|
||
|
}
|
||
|
|
||
|
//创建声明单例方法
|
||
|
+ (instancetype)shareInstance;
|
||
|
- (void)makeToast:(NSString *)message duration:(CGFloat)duration;
|
||
|
|
||
|
@end
|
||
|
|
||
|
NS_ASSUME_NONNULL_END
|