项目介绍:
[ 分享 ] Wave
水波浪动画效果,可以调节波浪的高度,宽度,ftps等参数。无论大浪小浪都可以轻松创建~
[Objective-C] 查看源文件 复制代码
let wave = Wave(frame:CGRectMake(0,0,300,300)) wave.direction = .Left //wave.direction = .Stop //wave.direction = .Right wave.waveHeight = 50 wave.waveWidth = 100 wave.variance = 50 wave.fps = 30 //or use storyboard
DEMO 直接下载: