mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00

git-subtree-dir: submodules/Display git-subtree-mainline: 9bc996374ffdad37aef175427db72731c9551dcf git-subtree-split: 7bd11013ea936e3d49d937550d599f5816d32560
35 lines
1.1 KiB
Objective-C
35 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;
|
|
@property (nonatomic, readonly) int32_t disableChildrenTracingTags;
|
|
|
|
- (instancetype _Nonnull)initWithShouldBeAdjustedToInverseTransform:(bool)shouldBeAdjustedToInverseTransform userData:(id _Nullable)userData tracingTag:(int32_t)tracingTag disableChildrenTracingTags:(int32_t)disableChildrenTracingTags;
|
|
|
|
@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
|