Loading Indicator in Swift
##Features
- Easy to use
- Show a transparent overlay over the whole screen or part of the screen. The overlay will prevent user interaction with the covered controls while the task is in progress.
- Show animating UIImageView programmatically in the center of the overlay to indicate a task is being processed
##How To Use
Include the PulseLoadingIndicator.swift file.
I've used Cartography framework to set the constraints so you'll need to include it.
#####Set the Image for UIImageView
Call hide method to hide the indicator after long running task.
#####Show indicator to cover entire screen PulseLoadingIndicator.show()
#####Hide indicator PulseLoadingIndicator.hide()
- This class uses Cartography:iphone::triangular_ruler: for constraints