Skip to content

nspavlo/MaterialActivityIndicator

Repository files navigation

MaterialActivityIndicator

CI Status Version License Platform

MaterialActivityIndicatorView is a drop in replacement for UIActivityIndicatorView

Example

Material activity indicator in Swift
To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

This pod requires a deployment target of iOS 9.3 or greater

Installation

Swift Package Manager

  • File > Swift Packages > Add Package Dependency
  • Add https://github.com/nspavlo/MaterialActivityIndicator

CocoaPods

MaterialActivityIndicator is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'MaterialActivityIndicator'

Usage

let indicator = MaterialActivityIndicatorView()
indicator.startAnimating()

Author

@JansPavlovs 👨‍💻

License

MaterialActivityIndicator is available under the MIT license. See the LICENSE file for more info.