A simple progress view written in Swift.
CocoaPods (< v0.36)
- Create a
Podfile
. - Add the line,
pod 'IJProgressView', :git => 'https://github.com/Isuru-Nanayakkara/IJProgressView.git'
. - Run
pod install
. - Add
import IJProgressView
to the files where you want to use the library.
- Add the IJProgressView.swift file to your project.
Simply call the following method to show the progress view. Pass the view you want it to be overlayed as a parameter.
IJProgressView.shared.showProgressView(view)
To hide the progress view,
IJProgressView.shared.hideProgressView()
- Eranga Bandara is the original author of the code snippet.