Skip to content

Latest commit

 

History

History
30 lines (15 loc) · 786 Bytes

README.md

File metadata and controls

30 lines (15 loc) · 786 Bytes

Loading View

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