mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-17 11:00:07 +00:00
38 lines
995 B
Objective-C
38 lines
995 B
Objective-C
//
|
|
// LOTAsset.h
|
|
// Pods
|
|
//
|
|
// Created by Brandon Withrow on 2/16/17.
|
|
//
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <CoreGraphics/CoreGraphics.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@class LOTLayerGroup;
|
|
@class LOTLayer;
|
|
@class LOTAssetGroup;
|
|
|
|
@interface LOTAsset : NSObject
|
|
|
|
- (instancetype)initWithJSON:(NSDictionary *)jsonDictionary
|
|
withAssetGroup:(LOTAssetGroup * _Nullable)assetGroup
|
|
withAssetBundle:(NSBundle *_Nonnull)bundle;
|
|
|
|
@property (nonatomic, readonly, nullable) NSString *referenceID;
|
|
@property (nonatomic, readonly, nullable) NSNumber *assetWidth;
|
|
@property (nonatomic, readonly, nullable) NSNumber *assetHeight;
|
|
|
|
@property (nonatomic, readonly, nullable) NSString *imageName;
|
|
@property (nonatomic, readonly, nullable) NSString *imageDirectory;
|
|
|
|
@property (nonatomic, readonly, nullable) LOTLayerGroup *layerGroup;
|
|
|
|
@property (nonatomic, readwrite) NSString *rootDirectory;
|
|
@property (nonatomic, readonly) NSBundle *assetBundle;
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|