 //  Created by pronebird on 5/3/15.
 //  Copyright (c) 2015 pronebird. All rights reserved.
 //
-
 import UIKit
 
 private let rotationAnimationKey = "rotation"

            return
        }
        animating = false
        hidden = true
        removeAnimation()
    }

}

    private func commonInit() {
        registerForAppStateNotifications()
        
        isHidden = true
        backgroundColor = UIColor.clear
        
        outerCircle.strokeColor = outerColor.cgColor
        outerCircle.fillColor = UIColor.clear.cgColor
        outerCircle.lineWidth = thickness
        
        innerCircle.strokeColor = innerColor.cgColor
        innerCircle.fillColor = UIColor.clear.cgColor
        innerCircle.lineWidth = thickness
        
        layer.addSublayer(outerCircle)
