     }
     
     /// The maximum radius of each circle.
-    var maxRadius:CGFloat {
+    public var maxRadius:CGFloat {
         get {
             return _maxRadius
         }

    
    // MARK: - override
    
    convenience init () {
        self.init(frame:CGRectMake(0, 0, 100, 50))
    }
    
    override init(frame: CGRect) {
        super.init(frame: frame)
        setupDefaults()
    }
    
    
    required init(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
        setupDefaults()
    }
    
    override func translatesAutoresizingMaskIntoConstraints() -> Bool {
        return false
    }


import UIKit


@objc public protocol MAActivityIndicatorViewDelegate
{
    func activityIndicatorView(activityIndicatorView: MAActivityIndicatorView,
        circleBackgroundColorAtIndex index: NSInteger) -> UIColor
    
}

public class MAActivityIndicatorView: UIView {

    
    // MARK: - Private properties
