     }
     
     public func showAlert(title: String, subTitle: String?, style: AlertStyle) -> SweetAlert {
-        self.showAlert(title, subTitle: subTitle, style: style, buttonTitle: "OK")
+        self.showAlert(title, subTitle: subTitle, style: style, buttonTitle: SweetAlertSettings.settings.OKText)
         return self
 
     }

public enum AlertStyle {
    case Success,Error,Warning,None
    case CustomImag(imageFile:String)
}

public class SweetAlert: UIViewController {

    var imageView:UIImageView?
    var subTitleTextView = UITextView()
    var userAction:((isOtherButton: Bool) -> Void)? = nil

    init() {
        super.init(nibName: nil, bundle: nil)
