ASSpinnerView 0.1.2

ASSpinnerView 0.1.2

Maintained by AhmedAskar.




  • By
  • Ahmed Askar

ASSpinnerView

A Loading indicator view

Version MIT license Platform Swift Version PRs Welcome

Installation

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

pod 'ASSpinnerView'

Usage

To start use it, import the library in your project

import ASSpinnerView

@IBOutlet weak var spinnerView: ASSpinnerView!

spinnerView1.spinnerLineWidth = 10
spinnerView1.spinnerDuration = 0.5
spinnerView1.spinnerStrokeColor = UIColor.blue.cgColor

// Change width
spinnerView2.spinnerLineWidth = 3

// Change spinner duration ranges between (0.0 ~ 1.0)
spinnerView2.spinnerDuration = 0.7

// Change spinner color
spinnerView2.spinnerStrokeColor = UIColor.green.cgColor

screenshot_01

Example

To try the example project:

run pod try ASSpinnerView in your ternimal

or

clone the repo, and run pod install from the Example directory first.

Requirements

  • iOS 9.0+
  • Xcode 9+
  • Swift 3.2+

Contributions

If you have some ideas on how to improve the framework, Fork it, implement your changes and create that pull request already 😉.

All contributions are welcome 🤗.

Author

Built with 💙 by AhmedAskar

License

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