mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-16 18:40:05 +00:00
34 lines
1.0 KiB
Objective-C
34 lines
1.0 KiB
Objective-C
//
|
|
// LOTLayerContainer.h
|
|
// Lottie
|
|
//
|
|
// Created by brandon_withrow on 7/18/17.
|
|
// Copyright © 2017 Airbnb. All rights reserved.
|
|
//
|
|
|
|
#import "LOTPlatformCompat.h"
|
|
#import "LOTLayer.h"
|
|
#import "LOTLayerGroup.h"
|
|
|
|
@interface LOTLayerContainer : CALayer
|
|
|
|
- (instancetype _Nonnull )initWithModel:(LOTLayer * _Nullable)layer
|
|
inLayerGroup:(LOTLayerGroup * _Nullable)layerGroup;
|
|
|
|
@property (nonatomic, readonly, strong, nullable) NSString *layerName;
|
|
@property (nonatomic, nullable) NSNumber *currentFrame;
|
|
@property (nonatomic, assign) CGRect viewportBounds;
|
|
@property (nonatomic, readonly, nonnull) CALayer *wrapperLayer;
|
|
- (void)displayWithFrame:(NSNumber * _Nonnull)frame;
|
|
- (void)displayWithFrame:(NSNumber * _Nonnull)frame forceUpdate:(BOOL)forceUpdate;
|
|
|
|
- (void)addAndMaskSublayer:(nonnull CALayer *)subLayer;
|
|
|
|
- (BOOL)setValue:(nonnull id)value
|
|
forKeypath:(nonnull NSString *)keypath
|
|
atFrame:(nullable NSNumber *)frame;
|
|
|
|
- (void)logHierarchyKeypathsWithParent:(NSString * _Nullable)parent;
|
|
|
|
@end
|