Latest 1.0.0
Homepage https://github.com/erbittuu/RainView
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

RainViewLogo

Demo

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

1. CocoaPods

UIRainView is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "RainView"

2. Manual

Add RainView.swift file into your project.

Usage

1. Import RainView in any class you want to use it.

    import RainView

2.1. Add direcly into the code.

import UIKit
import RainView

    var rainPlace = RainView.init(view: self.view)

    // Start normal Rain
    rainPlace.startRain()

    // Start heavy Rain
    rainPlace.startHeavyRain()

    // Start drizzle
    rainPlace.startDrizzle()

sometime if you want to Pause or Restart raining then following,

    //Stop rain
    rainPlace.stopRain()

    //restart rain 
    rainPlace.startRain()

If youwat to check Raining status then use,

    //Raining status 
     let alreadyRaining =  rainPlace.isRaining

Screenshots

alt Home
alt HeavyRain
alt Rain
alt Drizzle

Contribution

Feel free to raise issue and pull requests accepted to imrove this library.

Author

erbittuu , [email protected]

License

RainView is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "RainView",
    "version": "1.0.0",
    "summary": "Beautiful RainEffectud83cudf28ud83cudf02ud83cudf27 with small piece of code.",
    "homepage": "https://github.com/erbittuu/RainView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "erbittuu": "[email protected]"
    },
    "source": {
        "git": "https://github.com/erbittuu/RainView.git",
        "tag": "1.0.0"
    },
    "social_media_url": "https://twitter.com/erbittuu",
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "RainView/Classes/**/*",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This