         alert.show()
     }
     
-    class func generate(title: String, message: String) -> SwAlert {
+    public static func generate(title: String, message: String) -> SwAlert {
         let alert = SwAlert()
         alert.title = title
         alert.message = message

    }
    
    @available(iOS 8.0, *)
    private class func dismissAlertController() {
        if AlertManager.sharedInstance.window.keyWindow {
            AlertManager.sharedInstance.window.alpha = 0.0
            if let _delegate = UIApplication.sharedApplication().delegate {

    
    // MARK: - Instance Methods
    
    public func setCancelAction(buttonTitle: String, completion: CompletionHandler?) {
        self.cancelInfo = AlertInfo.generate(buttonTitle, placeholder: nil, completion: completion)
    }
    
    public func addAction(buttonTitle: String, completion: CompletionHandler?) {
        let alertInfo = AlertInfo.generate(buttonTitle, placeholder: nil, completion: completion)
        self.otherButtonHandlers.append(alertInfo)
    }
    
    public func addTextField(title: String, placeholder: String?) {
        let alertInfo = AlertInfo.generate(title, placeholder: placeholder, completion: nil)
        if #available(iOS 8.0, *) {
            self.textFieldInfo.append(alertInfo)
