Skip to content

KRProgressHUD 3.0 is available 🍺

Compare
Choose a tag to compare
@krimpedance krimpedance released this 19 May 08:27
· 53 commits to master since this release

New

- KRActivityIndicatorView was cut off.

- The setting method of styles was changed big.

  • Default settings
KRProgressHUD.appearance().style = .black
KRProgressHUD.appearance().activityIndicatorStyle = .gradationColor(head: .red, tail: .white)
  • Styles only in specific situation
KRProgressHUD
    .set(style: .black)
    .set(maskType: .clear)

These settings can be reset by

KRProgressHUD.resetStyles()

Together with show()

KRProgressHUD
    .set(style: .black)
    .show()