Files
featherVoice/TUIKit/TUICore/UIView+TUIUtil.h
2025-08-08 10:49:36 +08:00

25 lines
547 B
Objective-C

//
// 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