mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-10 08:20:16 +00:00
29 lines
694 B
Objective-C
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
|