Welcome to mirror list, hosted at ThFree Co, Russian Federation.

MWMSpringAnimation.h « Classes « Maps « iphone - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 783b363569f82bc0590cc475c6a8b021cd223d23 (plain)
1
2
3
4
5
6
7
8
9
10
11
#import "MWMAnimator.h"

@interface MWMSpringAnimation : NSObject <Animation>

@property (nonatomic, readonly) CGPoint velocity;

+ (instancetype)animationWithView:(UIView *)view target:(CGPoint)target velocity:(CGPoint)velocity completion:(TMWMVoidBlock)completion;

+ (CGFloat)approxTargetFor:(CGFloat)startValue velocity:(CGFloat)velocity;

@end