项目介绍:
YGPulseView
YGPulseView is Objective-C Category for making pulsing animation with UIView:
How to use:
- (void)viewDidLoad {
[super viewDidLoad];
self.plusView.layer.cornerRadius = 30;
}
- (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated];
[self.plusView startPulseWithColor:[UIColor greenColor] animation:YGPulseViewAnimationTypeRadarPulsing];
}