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.
Podfile:
pod 'MaterialDesignSpinner'
And then
pod install
Add the following line to your dependencies:
.package(url: "https://github.com/e-sites/MaterialDesignSpinner.git", .upToNextMajor(from: "1.0.0"))
Just add a MaterialDesignSpinner
to your xib or storyboard.
To change the color use tintColor