Latest 0.1.3
Homepage https://github.com/LeFal/WaterDrops
License MIT
Platforms ios 9.0
Authors

Simple water drops animation 💧

Example

override func viewDidLoad() {
    super.viewDidLoad()

        self.view.backgroundColor = UIColor.white

        // custom configuration
        let waterDropsView = WaterDropsView(frame: self.view.frame,
                                          direction: .up,
                                          dropNum: 10,
                                          color: UIColor.red.withAlphaComponent(0.7),
                                          minDropSize: 10,
                                          maxDropSize: 20,
                                          minLength: 50,
                                          maxLength: 100,
                                          minDuration: 4,
                                          maxDuration: 8)

        // add animation 
        waterDropsView.addAnimation()
        self.view.addSubview(waterDropsView)
}

Installation

Cocoapods

pod "WaterDrops"

Carthage

Author

LeFal, qwertyhj2@gmail.com

License

‘WaterDrops’ is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "WaterDrops",
    "version": "0.1.3",
    "summary": "Simple water drops animation ud83dudca7",
    "description": "Simple water drops background animation",
    "homepage": "https://github.com/LeFal/WaterDrops",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "LeFal": "qwertyhj2@gmail.com"
    },
    "source": {
        "git": "https://github.com/LeFal/WaterDrops.git",
        "tag": "0.1.3"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "Sources/*.swift",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This