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

Dimmer 2.2.0

Dimmer 2.2.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Nov 2018
SPMSupports SPM

Maintained by HFCoreUI.



 
Depends on:
UIViewKVO~> 2.0
FadeView~> 2.0
SnapKit>= 0
 

Dimmer 2.2.0

  • By
  • DragonCherry

Dimmer

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"