blob: 3e30367a12857d41b7de51f2abf998925a1b73a1 [file] [log] [blame]
{
"name": "UIRainView",
"version": "0.0.1",
"summary": "Very LightWeight, Easy to integrate UIView subclass - A Swift3 component to get rain effect in your app.",
"description": "# UIRainView\n\n[![CI Status](http://img.shields.io/travis/ZaidPathan/UIRainView.svg?style=flat)](https://travis-ci.org/ZaidPathan/UIRainView)\n[![Version](https://img.shields.io/cocoapods/v/UIRainView.svg?style=flat)](http://cocoapods.org/pods/UIRainView)\n[![License](https://img.shields.io/cocoapods/l/UIRainView.svg?style=flat)](http://cocoapods.org/pods/UIRainView)\n[![Platform](https://img.shields.io/cocoapods/p/UIRainView.svg?style=flat)](http://cocoapods.org/pods/UIRainView)\n\n![UIRainViewLogo](https://github.com/ZaidPathan/UIRainView/blob/master/Images/UIRainView_GitHubLogo.png)\n\n## Demo\n\n![UIRainView](https://github.com/ZaidPathan/UIRainView/blob/master/Images/UIRainView.gif)\n\n## Example\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\n## Requirements\n\n## Installation\n\n### 1. CocoaPods\n\nUIRainView is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod \"UIRainView\"\n```\n\n### 2. Manual\n\nAdd `UIRainView.swift` file into your project.\n\n## Usage\n\n### 1. Import UIRainView in any class you want to use it.\n\nimport UIRainView\n\n### 2.1. Add using XIB or UIStoryboard\n\n- Add UIView to your view.\n- Give class name `UIRainView` to that UIView in Identity Inspactor.\n- Go to attribute inspactor and give Rain String value (Default is 💧) and Rain fall interval (Default is 5).\n- Connect IBOutlet of `UIRainView`\n- **Start** rain by calling : `rainView?.rain()`\n- **Stop** rain by calling : `rainView?.drizzle()`\n\n### 2.2. Add direcly into the code.\n\n```swift\nimport UIKit\nimport UIRainView\n\nclass ViewController: UIViewController {\n\nvar rainView:UIRainView?\n\noverride func viewDidLoad() {\nsuper.viewDidLoad()\nrainView = UIRainView()\nrainView?.frame = view.frame\nview.addSubview(rainView!)\n\nrainView?.rainString = \"💧🎊🎉❤️💝💜💙💚💛🍰\"\nrainView?.rainFallInterval = 7\nrainView?.rain() //Start raining\n}\n\n}\n```\nTo **Stop** raining try following,\n\n```swift\nrainView?.drizzle()\n```\n\n## Contribution\n\nFeel free to raise issue and PR accepted to imrove this library.\n\n## Author\n\nZaidPathan , zaid.pathan@solutionanalysts.com\n\n## License\n\nUIRainView is available under the MIT license. See the LICENSE file for more info.",
"homepage": "https://github.com/ZaidPathan/UIRainView",
"license": {
"type": "MIT",
"file": "LICENSE"
},
"authors": {
"ZaidPathan": "zaid.pathan@solutionanalysts.com"
},
"source": {
"git": "https://github.com/ZaidPathan/UIRainView.git",
"tag": "0.0.1"
},
"social_media_url": "https://twitter.com/zaidkhanintel",
"platforms": {
"ios": "8.0"
},
"source_files": "UIRainView/Classes/**/*",
"pushed_with_swift_version": "3.0"
}