mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-19 20:21:26 +00:00
33 lines
823 B
Objective-C
33 lines
823 B
Objective-C
//
|
|
// LOTAsset.h
|
|
// Pods
|
|
//
|
|
// Created by Brandon Withrow on 2/16/17.
|
|
//
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <CoreGraphics/CoreGraphics.h>
|
|
|
|
@class LOTLayerGroup;
|
|
@class LOTLayer;
|
|
@class LOTAssetGroup;
|
|
|
|
@interface LOTAsset : NSObject
|
|
|
|
- (instancetype)initWithJSON:(NSDictionary *)jsonDictionary
|
|
withBounds:(CGRect)bounds
|
|
withFramerate:(NSNumber * _Nullable)framerate
|
|
withAssetGroup:(LOTAssetGroup * _Nullable)assetGroup;
|
|
|
|
@property (nonatomic, readonly) NSString *referenceID;
|
|
@property (nonatomic, readonly) NSNumber *assetWidth;
|
|
@property (nonatomic, readonly) NSNumber *assetHeight;
|
|
|
|
@property (nonatomic, readonly) NSString *imageName;
|
|
@property (nonatomic, readonly) NSString *imageDirectory;
|
|
|
|
@property (nonatomic, readonly) LOTLayerGroup *layerGroup;
|
|
|
|
@end
|