添加HWPanModal和FLAnimatedImage
This commit is contained in:
28
Pods/HWPanModal/Sources/View/HWPanModalShadow.m
generated
Normal file
28
Pods/HWPanModal/Sources/View/HWPanModalShadow.m
generated
Normal file
@@ -0,0 +1,28 @@
|
||||
//
|
||||
// HWPanModalShadow.m
|
||||
// Pods
|
||||
//
|
||||
// Created by hb on 2023/8/3.
|
||||
//
|
||||
|
||||
#import "HWPanModalShadow.h"
|
||||
|
||||
@implementation HWPanModalShadow
|
||||
|
||||
- (instancetype)initWithColor:(UIColor *)shadowColor shadowRadius:(CGFloat)shadowRadius shadowOffset:(CGSize)shadowOffset shadowOpacity:(CGFloat)shadowOpacity {
|
||||
self = [super init];
|
||||
if (self) {
|
||||
_shadowColor = shadowColor;
|
||||
_shadowRadius = shadowRadius;
|
||||
_shadowOffset = shadowOffset;
|
||||
_shadowOpacity = shadowOpacity;
|
||||
}
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
+ (instancetype)panModalShadowNil {
|
||||
return [[HWPanModalShadow alloc] initWithColor:[UIColor clearColor] shadowRadius:0 shadowOffset:CGSizeZero shadowOpacity:0];
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user