/MJProgressView

A simple test with activity indicator

Primary LanguageSwift

#MJProgressView

Setup

To use it in your project, just paste MJProgressView.swift in your project.

##Usage This progress view is a singleton one. You can access its instance from everywhere.

let indicator = MJProgressView.instance // Get instance

indicator.showProgress(self.view) // Shows indicator

indicator.hideProgress() // Hides indicator

indicator.isRunning() // Get if an indicator is shown