1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-02 09:27:55 +01:00
Telegram/Telegraph/TGSpringAnimation.h
2015-10-01 19:19:52 +03:00

8 lines
357 B
Objective-C

#import <Foundation/Foundation.h>
@interface TGSpringAnimation : NSObject
+ (CAKeyframeAnimation *)animationWithKeypath:(NSString *)keypath duration:(CFTimeInterval)duration usingSpringWithDamping:(CGFloat)usingSpringWithDamping initialSpringVelocity:(CGFloat)initialSpringVelocity fromPosition:(CGPoint)fromPosition toPosition:(CGPoint)toPosition;
@end