Latest 1.0.0
License MIT
Platforms ios 8.0
Dependencies UIViewKVO, FadeView, TinyLog, PureLayout, OptionalTypes

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


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


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

pod "Dimmer"

Latest podspec

    "name": "Dimmer",
    "version": "1.0.0",
    "summary": "A short description of Dimmer.",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": {
        "DragonCherry": "[email protected]"
    "source": {
        "git": "",
        "tag": "1.0.0"
    "platforms": {
        "ios": "8.0"
    "source_files": "Dimmer/Classes/**/*",
    "dependencies": {
        "UIViewKVO": [],
        "FadeView": [],
        "TinyLog": [],
        "PureLayout": [],
        "OptionalTypes": []
    "pushed_with_swift_version": "3.0"

Pin It on Pinterest

Share This