增加换肤功能
This commit is contained in:
24
TUIKit/TUICore/UIView+TUIUtil.h
Normal file
24
TUIKit/TUICore/UIView+TUIUtil.h
Normal file
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// UIView+TUIUtil.h
|
||||
// TUICore
|
||||
//
|
||||
// Created by gg on 2021/10/9.
|
||||
// Copyright © 2023 Tencent. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
typedef enum : NSUInteger {
|
||||
TUIOscillatoryAnimationToBigger,
|
||||
TUIOscillatoryAnimationToSmaller,
|
||||
} TUIOscillatoryAnimationType;
|
||||
|
||||
@interface UIView (TUIUtil)
|
||||
- (void)roundedRect:(UIRectCorner)corner withCornerRatio:(CGFloat)cornerRatio;
|
||||
+ (void)showOscillatoryAnimationWithLayer:(CALayer *)layer type:(TUIOscillatoryAnimationType)type;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in New Issue
Block a user