CocoaPods trunk is moving to be read-only. Read more on the blog, there are 17 months to go.

WaterDrops 0.1.3

WaterDrops 0.1.3

TestsTested ✗
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Aug 2017
SwiftSwift Version 3.0
SPMSupports SPM ✗

Maintained by LeFal.



  • By
  • LeFal

WaterDrops

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)
}

Author

LeFal, [email protected]

License

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