//
//  BasicAnimation.h
//  TTAnimationExample
//
//  Created by titengjiang on 16/1/17.
//  Copyright 漏 2016骞?sloop. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "BasicAnimation.h"
#import "AnimationParams.h"
#import "CATransform3DExtend.h"




#define deg(x) x*M_PI/180.0f
#define ViewWidth(v)                        v.frame.size.width
#define ViewHeight(v)                       v.frame.size.height

@interface BasicAnimation : NSObject
{
    AnimationParams * _params;
    UIView * _targetView;
    CAAnimationGroup * _animationGroup;
}
@property(nonatomic,strong)id delegate;

- (instancetype)initWith:(AnimationParams *)animationParams
                    view:(UIView *)targetView;
-(void)start;
@end
// 鐗堟潈灞炰簬鍘熶綔鑰?// http://code4app.com (cn) http://code4app.net (en)
// 鍙戝竷浠g爜浜庢渶涓撲笟鐨勬簮鐮佸垎浜綉绔? Code4App.com// 鐗堟潈灞炰簬鍘熶綔鑰?// http://code4app.com (cn) http://code4app.net (en)
// 鍙戝竷浠g爜浜庢渶涓撲笟鐨勬簮鐮佸垎浜綉绔? Code4App.com// 鐗堟潈灞炰簬鍘熶綔鑰?// http://code4app.com (cn) http://code4app.net (en)
// 鍙戝竷浠g爜浜庢渶涓撲笟鐨勬簮鐮佸垎浜綉绔? Code4App.com