Latest 2.0.3
Homepage https://github.com/DragonCherry/Dimmer
License MIT
Platforms ios 9.0
Dependencies UIViewKVO, FadeView, TinyLog, PureLayout
Authors

An easy extension library that supports dimming functionality on UIView and UIViewController.

Example

To dim view,
view.dim() / view.undim()

To dim a view with filling direction and size,
view.dim(.fromTop, ratio: 0.5)

To show loading view,
view.showLoading() / view.hideLoading()

To show loading view with indicator style,
view.showLoading(style: .whiteLarge) / view.hideLoading()

Installation

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

pod "Dimmer"

Latest podspec

{
    "name": "Dimmer",
    "version": "2.0.3",
    "summary": "Handy utility extention supports both dimming & gradient effect on UIView.",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/DragonCherry/Dimmer",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "DragonCherry": "[email protected]"
    },
    "source": {
        "git": "https://github.com/DragonCherry/Dimmer.git",
        "tag": "2.0.3"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "Dimmer/Classes/**/*",
    "dependencies": {
        "UIViewKVO": [
            "~> 2.0"
        ],
        "FadeView": [
            "~> 2.0"
        ],
        "TinyLog": [
            "~> 2.0"
        ],
        "PureLayout": []
    },
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This