Swiftgram/lottie-ios/Classes/PublicHeaders/LOTAnimatedControl.h
2017-08-28 14:39:42 -07:00

29 lines
694 B
Objective-C

//
// LOTAnimatedControl.h
// Lottie
//
// Created by brandon_withrow on 8/25/17.
// Copyright © 2017 Airbnb. All rights reserved.
//
#import <UIKit/UIKit.h>
@class LOTAnimationView;
@class LOTComposition;
@interface LOTAnimatedControl : UIControl
// This class is a base class that is intended to be subclassed
/**
* Map a specific animation layer to a control state.
* When the state is set all layers will be hidden except the specified layer.
**/
- (void)setLayerName:(NSString * _Nonnull)layerName forState:(UIControlState)state;
@property (nonatomic, readonly, nonnull) LOTAnimationView *animationView;
@property (nonatomic, nullable) LOTComposition *animationComp;
@end