Progress/Activity indicator with UIActivityIndicatorView, different themes(i.e light and dark).
show()
show(onView view: UIView)
show(_ theme: ProgressIndicatorTheme)
show(onView view: UIView, theme: ProgressIndicatorTheme)
show(_ message: String)
show(_ message: String, theme: ProgressIndicatorTheme)
show(_ message: String, onView: UIView)
show(_ message: String, onView: UIView, theme: ProgressIndicatorTheme)
hide()
hide(fromView view: UIView)
- Copy ProgressIndicator folder from demo project
- Show:
ProgressIndicator.show()
- Hide:
ProgressIndicator.hide()
ProgressIndicator.show(onView: self.view, theme: .dark)
Request.getEmployees {
ProgressIndicator.hide(fromView: self.view)
}