 
 public extension UIViewController {
     public func toast(_ title: String) { CSNotification().title(title).show(self) }
+
+    public func toast(success title: String) { CSNotification().success().title(title).show(self) }
+
+    public func toast(warning title: String) { CSNotification().warning().title(title).show(self) }
+
+    public func toast(error title: String) { CSNotification().error().title(title).show(self) }
 }
 
 public class CSNotification: CSObject {

    public var body: String?
    public var icon: UIImage?
    public var actionOnClick: (() -> Void)?
    public var dismissable = true

    private var position: RMessagePosition = .top
    private var type: RMessageSpec = normalSpec
    private var time: TimeInterval?
    private static var rmessage = { RMController() }()

    public override init() {
    }


    public func action(onClick: @escaping () -> Void) -> Self {
        actionOnClick = onClick
        dismissible = false
        return self
    }

    public func dismissable(_ dismissable: Bool) -> Self {
        self.dismissible = dismissable
        return self
    }

    public func hanging() -> Self {
        dismissible = false
        return self
    }

