Full screen activity indicator for Swift 3 (Works with Xcode beta 6).
How to Use
RCActivityIndicator.show(overlayTarget: view, loadingText: "Loading") // 1
RCActivityIndicator.show(overlayTarget: view) // 2
RCActivityIndicator.hide() // 3
- Creates activity indicator with spinner and text.
- Creates activity indicator with spinner and no text.
- Hides activity indicator.
Install
Just put RCActivityIndicator.swift in your Xcode project.
Example
![alt text] (https://s3-us-west-2.amazonaws.com/otherpoundsofstuff/Simulator+Screen+Shot+Aug+14%2C+2016%2C+1.57.57+AM.png)