             self.view.alpha = 0
             }, completion: { finished in
                 self.view.removeFromSuperview()
+				SCLAlertView.currentAlertView = nil
         })
     }
 


    // showTitle(view, title, subTitle, duration, style)
    public func showTitle(title: String, subTitle: String, duration: NSTimeInterval?, completeText: String?, style: SCLAlertViewStyle, icon: UIImage?) -> SCLAlertViewResponder {
        view.alpha = 0
        let rv = UIApplication.sharedApplication().keyWindow?.subviews.first as! UIView
        rv.addSubview(view)
        view.frame = rv.bounds
        baseView.frame = rv.bounds



// The Main Class
public class SCLAlertView: UIViewController {
	
	static var currentAlertView:SCLAlertView?
	
    let kDefaultShadowOpacity: CGFloat = 0.7
    let kCircleTopPosition: CGFloat = -12.0
    let kCircleBackgroundTopPosition: CGFloat = -15.0
