LoadingView.swift
- A lightweight simpile reusable Loading view in swift
This can be used to show loading activity with spinner.
This can be used in any view controller or add to any view
This class can be further customized to give fancy UI touch
Below code show how to use in View Controller
let loadingView = LoadingView()
view.addSubview(loadingView)
loadingView.show()
When no more need just hide it
loadingView.hide()
Add constraints in your View Controller to place is in center or wherever you want
MIT License