LOTLayerGroup.h 648 B

123456789101112131415161718192021222324252627282930
  1. //
  2. // LOTLayerGroup.h
  3. // Pods
  4. //
  5. // Created by Brandon Withrow on 2/16/17.
  6. //
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import <CoreGraphics/CoreGraphics.h>
  10. NS_ASSUME_NONNULL_BEGIN
  11. @class LOTLayer;
  12. @class LOTAssetGroup;
  13. @interface LOTLayerGroup : NSObject
  14. - (instancetype)initWithLayerJSON:(NSArray *)layersJSON
  15. withAssetGroup:(LOTAssetGroup * _Nullable)assetGroup
  16. withFramerate:(NSNumber *)framerate;
  17. @property (nonatomic, readonly) NSArray <LOTLayer *> *layers;
  18. - (LOTLayer *)layerModelForID:(NSNumber *)layerID;
  19. - (LOTLayer *)layerForReferenceID:(NSString *)referenceID;
  20. @end
  21. NS_ASSUME_NONNULL_END