         if let button = spinner?.superview as? UIButton {
 
             button.isUserInteractionEnabled = true
-            button.restoreTitleColors(controlTitleColors)
+            button.restore(titleColors: controlTitleColors)
             if enablesUserInteraction {
-                button.userInteractionEnabled = true
+                button.isUserInteractionEnabled = true
             }
         }
-        if let view = spinner?.superview where enablesUserInteraction == true {
-            view.userInteractionEnabled = true
+        if let view = spinner?.superview, enablesUserInteraction == true {
+            view.isUserInteractionEnabled = true
         }
         
         spinner?.dismiss()

     */

    public static func showSpinner(inView view: UIView, style: UIActivityIndicatorViewStyle = .white, color:UIColor? = nil, disablesUserInteraction: Bool = false) -> Spinner {
        let center      = CGPointMake(view.bounds.size.width/2, view.bounds.size.height/2)

        let spinner     = UIActivityIndicatorView(activityIndicatorStyle: style)
        
        if disablesUserInteraction {
            spinner.frame = view.frame
            spinner.layer.backgroundColor = UIColor(red: 0.0, green: 0.0, blue: 0.0, alpha: 0.3).CGColor
            view.isUserInteractionEnabled = false
        }
        spinner.color = color


     - Returns: A reference to the `Spinner` that was created, so that it can be dismissed as needed.
     */
    public static func showCustomSpinner(inView view: UIView) -> Spinner {
        if let image = animationImage {
            let imageView = UIImageView(frame: view.bounds)
            imageView.contentMode = .center
