Files
real-e-party-iOS/YuMi/CustomUI/TTPopup/Service/TTPopupService.m
2025-10-17 14:52:29 +08:00

35 lines
986 B
Objective-C

// Created by lvjunhang on 2019/5/21.
// Copyright © 2023 YUMI. All rights reserved.
#import "TTPopupService.h"
@implementation TTPopupService
@synthesize style = _style;
@synthesize priority = _priority;
@synthesize contentView = _contentView;
@synthesize maskBackgroundAlpha = _maskBackgroundAlpha;
@synthesize shouldDismissOnBackgroundTouch = _shouldDismissOnBackgroundTouch;
@synthesize didFinishDismissHandler = _didFinishDismissHandler;
@synthesize didFinishShowingHandler = _didFinishShowingHandler;
@synthesize shouldFilterPopup = _shouldFilterPopup;
@synthesize filterIdentifier = _filterIdentifier;
@synthesize showType = _showType;
- (instancetype)init {
self = [super init];
if (self) {
_style = TTPopupStyleAlert;
_priority = TTPopupPriorityNormal;
_maskBackgroundAlpha = 0.5;
_shouldDismissOnBackgroundTouch = YES;
_shouldFilterPopup = NO;
_showType = TTPopupShowTypeDefault;
}
return self;
}
@end