typedef NS_ENUM(NSInteger, TouchAnimationView_Type) {
TouchAnimationView_ZoomIn = 0,
TouchAnimationView_ZoomOut,
};
@property (nonatomic) IBInspectable BOOL controlOnly;
@property (nonatomic) IBInspectable NSString* AnimationType;
@property (nonatomic) IBInspectable UIColor* color;
@property (nonatomic) IBInspectable UIColor* colorText;
@property (nonatomic) IBInspectable CGFloat duration;
@property (nonatomic) IBInspectable CGFloat delay;
@property (nonatomic) IBInspectable CGFloat alphaStart;
@property (nonatomic) IBInspectable CGFloat alphaEnd;
@property (nonatomic) IBInspectable CGFloat size;
-(void)buttonEventAnimation:(UIButton*)button
withEvent:(UIEvent *)event
animationType:(TouchAnimationView_Type)type
color:(UIColor*)color;
-(void)textViewFieldAnimation:(CGPoint)point
withText:(NSString*)text
animationType:(TouchAnimationView_Type)type
color:(UIColor*)color
colorText:(UIColor*)colorText;
-(void)touchesEventAnimation:(NSSet<UITouch *> *)touches
withEvent:(UIEvent *)event
animationType:(TouchAnimationView_Type)type;
To run the example project, clone the repo, and run pod install
from the Example directory first.
TouchAnimationView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "TouchAnimationView"
TouchAnimationView is available under the MIT license. See the LICENSE file for more info.