Swift Loading Indicator with Overlay
Switch branches/tags
Clone or download
vincechan Merge pull request #7 from jzeferino/feature/autolayout_implemented_c…

Implemented correctly autolayout.
Latest commit 84e369a Aug 23, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
ScreenShots docs: add gif Apr 4, 2018
SwiftLoadingIndicator.xcodeproj chore: update to swift 4 Apr 4, 2018
SwiftLoadingIndicator Implemented correctly autolayout. Aug 22, 2018
.gitignore chore: update gitignore Apr 4, 2018
.travis.yml Update .travis.yml Jul 3, 2018
LICENSE Create LICENSE Apr 18, 2018
README.md Update README.md Apr 18, 2018
_config.yml Set theme jekyll-theme-hacker Feb 12, 2017


Build Status


Loading Indicator in Swift

screen shot


  1. Easy to use
  2. 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.
  3. Show animating UIActivityIndicatorView programmatically in the center of the overlay to indicate a task is being processed
  4. Show additional custom text in the overlay to provide additional information

How To Use

Include the LoadingIndicatorView.swift file. Call one of the show methods to show the indicator before long running task. Call hide method to hide the indicator after long running task.

Show indicator to cover entire screen


Show indicator to cover entire screen with custom text


Show indicator to cover target view


Show indicator to cover target view with custom text

LoadingIndicatorView.show(target, "Loading")

Hide indicator