     var contentView = UIView()
     var circleBG = UIView(frame:CGRect(x:0, y:0, width:kCircleHeightBackground, height:kCircleHeightBackground))
     var circleView = UIView()
-    var circleIconImageView = UIImageView()
+    var circleIconView : UIView?
     var durationTimer: NSTimer!
     private var inputs = [UITextField]()
     private var buttons = [SCLButton]()
-
+    
     required public init(coder aDecoder: NSCoder) {
         fatalError("NSCoding not supported")
     }

        return showTitle(title, subTitle: subTitle, duration: duration, completeText:closeButtonTitle, style: .Info)
    }

    public func showEdit(title: String, subTitle: String, closeButtonTitle:String?=nil, duration:NSTimeInterval=0.0) -> SCLAlertViewResponder {
        return showTitle(title, subTitle: subTitle, duration: duration, completeText:closeButtonTitle, style: .Edit)
    }

        }

        // Done button
        if showCloseButtton {
            let txt = completeText != nil ? completeText! : "Done"
            addButton(txt, target:self, selector:Selector("hideView"))
        }

        // Alert view colour and images
        circleView.backgroundColor = viewColor
        // Spinner / icon
        if style == .Wait {
            let indicator = UIActivityIndicatorView(activityIndicatorStyle: .WhiteLarge)
            indicator.startAnimating()
            circleIconView = indicator
        }
        else {
            circleIconView = UIImageView(image: iconImage!)
        }
        circleView.addSubview(circleIconView!)
        let x = (kCircleHeight - kCircleIconHeight) / 2
        circleIconView!.frame = CGRectMake( x, x, kCircleIconHeight, kCircleIconHeight)

        for txt in inputs {
            txt.layer.borderColor = viewColor.CGColor
        }
