PIRipple是iOS的涟漪效果。
高级使用示例:
var option = Ripple.option()//configureoption.borderWidth = CGFloat(5.0)option.radius = CGFloat(30.0)option.duration = CFTimeInterval(0.4)option.borderColor = UIColor.whiteColor()option.fillColor = UIColor.clearColor()option.scale = CGFloat(3.0)Ripple.run(self, locationInView: CGPointZero, option: option){ println("animation completed")}
评论