IOS 波紋進(jìn)度(waveProgress)動畫實現(xiàn)
LXWaveProgress
A simple wave components
一個簡單的波浪進(jìn)度動畫,高度可定制。具體效果見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];
具體實現(xiàn)效果請查看Demo,需求不一樣的請自行更改,不要做伸手黨,謝謝。
原文鏈接:http://www.jianshu.com/p/0327ea46d1bc
著作權(quán)歸作者所有,轉(zhuǎn)載請聯(lián)系作者獲得授權(quán),并標(biāo)注“簡書作者”。
以上就是對IOS 紋進(jìn)度(waveProgress)動畫實現(xiàn)的資料整理,后續(xù)繼續(xù)補充相關(guān)資料,謝謝大家對本站的支持!
相關(guān)文章
iOS App開發(fā)中使用及自定義UITableViewCell的教程
這篇文章主要介紹了iOS App開發(fā)中使用及自定義UITableViewCell的教程,自定義TableViewCell文中使用Objective-C演示而非ib,需要的朋友可以參考下2016-04-04iOS11 SectionHeader 胡亂移動且滑動時出現(xiàn)重復(fù)內(nèi)容的解決方法
這篇文章主要介紹了iOS11 SectionHeader 胡亂移動且滑動時出現(xiàn)重復(fù)內(nèi)容的解決方法,需要的朋友可以參考下2017-11-11