[](https://travis
ci.org/rashwanlazkani/RLoad)
To run the example project, clone the repo, and run pod install
from the Example directory first.
RLoad is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'RLoad'
There are four methods you can use:
Creates the indicator. Four parameters:
x: x-position of the indicator
y: y-position of the indicator
radis: radius of the indicator
begin: if you want to indicator to start
let rload = RLoadIndicator()
rload.create(x: view.frame.midX - 50, y: view.frame.midY - 50, radius: 50, begin: true)
view.addSubview(rload)
Your´re able to change the colors by either:
Adding additional colors:
rload.colors.append(.gray)
Or adding a new list:
rload.colors = [.green, .gray, .magenta]
rashwanlazkani, rashwan87@gmail.com
RLoad is available under the MIT license. See the LICENSE file for more info.