Latest 1.0.0
Homepage https://github.com/Jerome00/JJWaterRipple
License MIT
Platforms ios 7.0
Authors

简介

JJWaterRipple是一个简单的水波效果的工具

时间仓促,效果图以后补上。

原理简介

JJWaterRipple的原理很简单,可以配合项目理解
1.准备两张图片
2.将两张图片放在重叠的位置
3.将其中一张图片加上波浪线的遮盖层
4.通过动态改变遮盖层的形状,形成一种波浪的效果
5.您只需要在JJWaterRipple的回调方法中设置遮盖层即可

安装

直接安装
直接拽入 JJWaterRipple.hJJWaterRipple.m 文件

Latest podspec

{
    "name": "JJWaterRipple",
    "version": "1.0.0",
    "summary": "A Tool For iOS Water Ripple",
    "description": "A Tool For iOS Water Ripple.",
    "homepage": "https://github.com/Jerome00/JJWaterRipple",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "jerome00": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/Jerome00/JJWaterRipple.git",
        "tag": "1.0.0"
    },
    "source_files": "JJWaterRipple/*.{h,m}",
    "ios": {
        "frameworks": [
            "Foundation",
            "UIKit"
        ]
    },
    "osx": {
        "frameworks": [
            "Foundation",
            "AppKit"
        ]
    }
}

Pin It on Pinterest

Share This