DismissingUIAction
public protocol DismissingUIAction : UIAction where Self.InputType == DismissUIInput, Self.PresenterType == UIViewController
Note
See https://bugs.swift.org/browse/SR-10831 for why this is so ugly. The type inference should see the constraints fully satisfy the associated types but it doesn’t, so we have to also specify the associatedtype so that conforming types can compile-
Undocumented
Declaration
Swift
associatedtype InputType = DismissUIInput
-
Undocumented
Declaration
Swift
associatedtype PresenterType = UIViewController
-
perform(context:presenter:completion:)
Extension methodDeclaration
Swift
static func perform(context: ActionContext<DismissUIInput>, presenter: UIViewController, completion: Completion) -> Completion.Status