YSCAnimation
Github地址 : https://github.com/xiaochaofeiyu/YSCAnimation,对你有帮助的话帮我点颗星星哦!
ripple animation
1). singlelineripple --> corresponding class YSCRippleView
[_rippleView showWithRippleType:YSCRippleTypeLine]
2). ringRipple --> corresponding class YSCRippleView
[_rippleView showWithRippleType:YSCRippleTypeRing]
3). cicleRipple --> corresponding class YSCRippleView
[_rippleView showWithRippleType:YSCRippleTypeCircle]
4). mixedripple --> corresponding class YSCRippleView
[_rippleView showWithRippleType:YSCRippleTypeMixed]
wave animation
1). pusle --> corresponding class YSCWaveView
[_waveView showWaveViewWithType:YSCWaveTypePulse]
2). wave --> corresponding class YSCWaveView
[_waveView showWaveViewWithType:YSCWaveTypeVoice]
3). movedWave --> corresponding class YSCWaveView
[_waveView showWaveViewWithType:YSCWaveTypeMovedVoice]
mask animation
1). circleLoad --> corresponding class YSCCircleLoadAnimationView
YSCCircleLoadAnimationView *shapeView = [[YSCCircleLoadAnimationView alloc] initWithFrame:self.view.bounds];
UIImage *image = [UIImage imageNamed:@"tree.jpg"];
shapeView.loadingImage.image = image;
[self.view addSubview:shapeView];
[shapeView startLoading];
2). microphone wave --> corresponding class YSCMicrophoneWaveView
YSCMicrophoneWaveView *microphoneWaveView = [[YSCMicrophoneWaveView alloc] init];
[microphoneWaveView showMicrophoneWaveInParentView:self.view withFrame:self.view.bounds];
3). fanshaped wave --> corresponding class YSCFanShapedView
- (YSCFanShapedView *)fanshapedView
{
if (!_fanshapedView) {
self.fanshapedView = [[YSCFanShapedView alloc] init];
_fanshapedView.frame = CGRectMake(0, 0, 300, 150);
_fanshapedView.center = CGPointMake(self.view.bounds.size.width / 2.0, self.view.bounds.size.height / 2.0 - 100);
}
return _fanshapedView;
}
//show
[self.fanshapedView