直接上代码
//
// UIView+FlashesMask.h
// RunningLightAnimation
//
// Created by iFens on 16/3/29.
// Copyright © 2016年 Ifans. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIView (FlashesMask)
-(void)FlashesMaskAimationBeginWithRepeatCount:(CGFloat)count duration:(NSTimeInterval