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

MWMAnimator.h « Classes « Maps « iphone - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 71555ba27a3cf184bd024fc6c862a65ec6884110 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#import <Foundation/Foundation.h>

@protocol Animation <NSObject>

- (void)animationTick:(CFTimeInterval)dt finished:(BOOL *)finished;

@end

@interface MWMAnimator : NSObject

+ (instancetype)animatorWithScreen:(UIScreen *)screen;
- (void)addAnimation:(id<Animation>)animatable;
- (void)removeAnimation:(id<Animation>)animatable;

@end

@interface UIView (AnimatorAdditions)

- (MWMAnimator *)animator;

@end