mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
40 lines
1.1 KiB
Objective-C
40 lines
1.1 KiB
Objective-C
#import <UIKit/UIKit.h>
|
|
|
|
@interface CATracingLayer : CALayer
|
|
|
|
@end
|
|
|
|
@interface CATracingLayerInfo : NSObject
|
|
|
|
@property (nonatomic, readonly) bool shouldBeAdjustedToInverseTransform;
|
|
@property (nonatomic, weak, readonly) id _Nullable userData;
|
|
@property (nonatomic, readonly) int32_t tracingTag;
|
|
|
|
- (instancetype _Nonnull)initWithShouldBeAdjustedToInverseTransform:(bool)shouldBeAdjustedToInverseTransform userData:(id _Nullable)userData tracingTag:(int32_t)tracingTag;
|
|
|
|
@end
|
|
|
|
@interface UITracingLayerView : UIView
|
|
|
|
- (void)scheduleWithLayout:(void (^_Nonnull)())block;
|
|
|
|
@end
|
|
|
|
@interface CALayer (Tracing)
|
|
|
|
- (CATracingLayerInfo * _Nullable)traceableInfo;
|
|
- (void)setTraceableInfo:(CATracingLayerInfo * _Nullable)info;
|
|
|
|
- (bool)hasPositionOrOpacityAnimations;
|
|
- (bool)hasPositionAnimations;
|
|
|
|
- (void)setInvalidateTracingSublayers:(void (^_Nullable)())block;
|
|
- (NSArray<NSArray<CALayer *> *> * _Nonnull)traceableLayerSurfacesWithTag:(int32_t)tracingTag;
|
|
- (void)adjustTraceableLayerTransforms:(CGSize)offset;
|
|
|
|
- (void)setPositionAnimationMirrorTarget:(CALayer * _Nullable)animationMirrorTarget;
|
|
|
|
- (void)invalidateUpTheTree;
|
|
|
|
@end
|