MaterialDesignSpinner
An iOS activity spinner modeled after Google's Material Design Spinner
This is the Swift5 version of MMMaterialDesignSpinner by misterwell. Shout out to his solution.
Installation
CocoaPods
Podfile:
pod 'MaterialDesignSpinner'
And then
pod install
SwiftPM
Add the following line to your dependencies:
.package(url: "https://github.com/e-sites/MaterialDesignSpinner.git", .upToNextMajor(from: "1.0.0"))
Implementation
Just add a MaterialDesignSpinner
to your xib or storyboard.
To change the color use tintColor