48 lines
932 B
Objective-C
48 lines
932 B
Objective-C
|
|
|
|
// Created by lvjunhang on 2019/5/21.
|
|
// Copyright © 2023 YUMI. All rights reserved.
|
|
|
|
|
|
#import "TTPopupConstants.h"
|
|
|
|
typedef NS_ENUM(NSUInteger, TTPopupShowType) {
|
|
TTPopupShowType_FadeIn = 1,
|
|
TTPopupShowTypeDefault = 8,
|
|
};
|
|
|
|
@class UIView;
|
|
|
|
@protocol TTPopupServiceProtocol <NSObject>
|
|
|
|
|
|
@property (nonatomic, assign) TTPopupStyle style;
|
|
|
|
|
|
@property (nonatomic, assign) TTPopupPriority priority;
|
|
|
|
|
|
@property (nonatomic, strong) UIView *contentView;
|
|
|
|
|
|
@property (nonatomic, assign) CGFloat maskBackgroundAlpha;
|
|
|
|
|
|
@property (nonatomic, assign) BOOL shouldDismissOnBackgroundTouch;
|
|
|
|
|
|
@property (nonatomic, copy) void (^didFinishDismissHandler)(BOOL isDismissOnBackgroundTouch);
|
|
|
|
|
|
@property (nonatomic, copy) void (^didFinishShowingHandler)(void);
|
|
|
|
|
|
@property (nonatomic, assign) BOOL shouldFilterPopup;
|
|
|
|
|
|
@property (nonatomic, copy) NSString *filterIdentifier;
|
|
|
|
|
|
@property (nonatomic, assign) TTPopupShowType showType;
|
|
@end
|