 extension UIImageView: Spinner {
 
     // Called when the activity indicator should be removed.
-    public func dismiss() {
+    public func dismiss(enablesUserInteraction enablesUserInteraction: Bool = false) {
         stopAnimating()
         removeFromSuperview()
     }

     - Parameter view: The view to display the indicator in.
     - Parameter style: A constant that specifies the style of the object to be created.
     - Parameter color: A UIColor that specifies the tint of the spinner
     
     - Returns: A reference to the Spinner that was created, so that it can be dismissed as needed.
     */

extension UIActivityIndicatorView: Spinner {

    // Called when the activity indicator should be removed.
    public func dismiss(enablesUserInteraction enablesUserInteraction: Bool = false) {
        stopAnimating()
        removeFromSuperview()
    }
