bellchen 71326e9589 change rootDic to rootDirectory;
change animationWithFile to animationWithFilePath
2017-06-12 10:56:39 +08:00

28 lines
630 B
Objective-C

//
// LOTAssetGroup.h
// Pods
//
// Created by Brandon Withrow on 2/17/17.
//
//
#import <Foundation/Foundation.h>
#import <CoreGraphics/CoreGraphics.h>
@class LOTAsset;
@class LOTLayerGroup;
@interface LOTAssetGroup : NSObject
@property (nonatomic, readwrite) NSString * _Nullable rootDirectory;
- (instancetype _Nonnull)initWithJSON:(NSArray * _Nonnull)jsonArray;
- (void)buildAssetNamed:(NSString * _Nonnull)refID
withBounds:(CGRect)bounds
andFramerate:(NSNumber * _Nullable)framerate;
- (void)finalizeInitialization;
- (LOTAsset * _Nullable)assetModelForID:(NSString * _Nonnull)assetID;
@end