LXWaveProgress
A simple wave components
###一個簡單的波浪進度動畫,高度可定製。具體效果見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];
複製程式碼
具體實現效果請檢視Demo,需求不一樣的請自行更改,不要做伸手黨,謝謝。<br > Demo地址