Skip to content

DragonCherry/Dimmer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"

About

An easy extension library that support dimming functionality.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published