DismissalMethodProvidingContextTask

public struct DismissalMethodProvidingContextTask<VC, C> : ContextTask where VC : Dismissible

DismissalMethodProvidingContextTask allows to provide the way to dismiss the UIViewController using a preset configuration. The UIViewController should conform to Dismissible protocol and call Dismissible.dismissViewController(...) method when it needs to be dismissed to trigger the dismissal process implemented in DismissalMethodProvidingContextTask.init(...) constructor.

Methods