2020-02-22 15:38:54 +04:00

13 lines
372 B
Objective-C

#import <QuartzCore/QuartzCore.h>
@interface TGAnimationBlockDelegate : NSObject <CAAnimationDelegate>
@property (nonatomic) bool removeLayerOnCompletion;
@property (nonatomic) NSNumber *opacityOnCompletion;
@property (nonatomic, weak) CALayer *layer;
@property (nonatomic, copy) void (^completion)(BOOL finished);
- (instancetype)initWithLayer:(CALayer *)layer;
@end