SweetAlert().showAlert("Are you sure?", subTitle: "削除してもよろしいですか?", style: AlertStyle.Warning, buttonTitle:"いいえ", buttonColor:UIColor.redColor() , otherButtonTitle: "はい", otherButtonColor:UIColor.redColor()) { (isOtherButton) -> Void in if isOtherButton == true { //「いいえ」を選択した時の処理 } else { //「はい」を選択した時の処理 SweetAlert().showAlert("成功!", subTitle: "削除が成功しました!", style: AlertStyle.Success) } } SweetAlert