LXWaveProgress
A simple wave components<br />
一個(gè)簡單的波浪進(jìn)度動(dòng)畫,高度可定制稍计。具體效果見Demo。
使用方法
LXWaveProgressView *progressView1 = [[LXWaveProgressView alloc] initWithFrame:CGRectMake(0, 0, 100, 100)];
progressView1.center=CGPointMake(CGRectGetMidX(self.view.bounds), 270);
progressView1.progress = 0.5;
progressView1.waveHeight = 10;
progressView1.speed = 1.0;
progressView1.isShowSingleWave=YES;
progressView1.firstWaveColor = [UIColor colorWithRed:134/255.0 green:116/255.0 blue:210/255.0 alpha:1];
progressView1.secondWaveColor = [UIColor colorWithRed:134/255.0 green:116/255.0 blue:210/255.0 alpha:0.5];
[self.view addSubview:progressView1];
具體實(shí)現(xiàn)效果請查看Demo尉咕,需求不一樣的請自行更改莹弊,不要做伸手黨,謝謝翁潘。<br >
Demo地址