Skip to content

VasantHugar/VNHProgressIndicator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

VNHProgressIndicator

Progress/Activity indicator with UIActivityIndicatorView, different themes(i.e light and dark).

There are several method

To show.

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

To hide.

  • hide()
  • hide(fromView view: UIView)

How to use?

  • Copy ProgressIndicator folder from demo project
  • Show: ProgressIndicator.show()
  • Hide: ProgressIndicator.hide()

Code

ProgressIndicator.show(onView: self.view, theme: .dark)
Request.getEmployees {
   ProgressIndicator.hide(fromView: self.view)
}

About

Progress/Activity indicator with UIActivityIndicatorView, different themes(i.e light and dark).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages