25 lines
547 B
Objective-C
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
|