         innerCircle.fillColor = UIColor.clear.cgColor
         innerCircle.strokeColor = innerCircleDefaultColor
         innerCircleView.layer.addSublayer(innerCircle)
-      
+
         innerCircle.strokeStart = 0.0
         innerCircle.strokeEnd = 1.0
-      
+
         blurView.contentView.addSubview(innerCircleView)
-      
+
         isUserInteractionEnabled = true
     }
-   
+
     public override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
         return self
     }
-   
+
     // MARK: - Public interface
-   
+
     /// The label with the spinner's title
     public lazy var titleLabel = UILabel()
-    
+
     /// The label with the spinner's subtitle
     public var subtitleLabel: UILabel?
 
     private let outerCircleDefaultColor = UIColor.white.cgColor
     fileprivate var _outerColor: UIColor?
-    
+
     /// The color of the outer circle
     public var outerColor: UIColor? {
         get { return _outerColor }

            return customSuperview ?? UIApplication.shared.keyWindow
        #endif
    }
    
    /// Custom container for the spinner
    public class func useContainerView(_ sv: UIView?) {
        customSuperview = sv
    }
   
    /// Show the spinner activity on screen, if visible only update the title
    ///
    /// - Parameters:

            subtitle.center = CGPoint(x: bounds.midX, y: bounds.maxY - subtitle.bounds.midY - subtitle.font.pointSize - safeArea)
        }
    }

    override public func layoutSubviews() {
        super.layoutSubviews()
        updateFrame()
    }

    // MARK: - Tap handler
    private var tapHandler: (() -> Void)?
    func didTapSpinner() {
        tapHandler?()
    }
