 
     public func action(onClick: @escaping () -> Void) -> Self {
         actionOnClick = onClick
-        dismissable = false
+        dismissible = false
         return self
     }
 
     public func dismissable(_ dismissable: Bool) -> Self {
-        self.dismissable = dismissable
+        self.dismissible = dismissable
         return self
     }
 
     public func hanging() -> Self {
-        dismissable = false
+        dismissible = false
         return self
     }
 

    @discardableResult
    public func show(_ parent: UIViewController?) -> Self {
        var type = self.type
        type.durationType = dismissable ? .timed : .endless
        type.timeToDismiss = time ?? 0
        type.iconImage = icon
        Self.rmessage.showMessage(withSpec: type, atPosition: position, title: title ?? "",
                body: body, viewController: parent, leftView: nil, rightView: nil, backgroundView: nil,
                tapCompletion: actionOnClick, presentCompletion: nil, dismissCompletion: nil)
        return self
    }

    public class func dismissActive() { Self.rmessage.dismissOnScreenMessage() }
}


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 {
