From ca754e5d5ab5cf6f3a0d5642fc5557ce5763e9e1 Mon Sep 17 00:00:00 2001 From: Andre Silva Date: Mon, 12 Nov 2018 20:49:50 +0000 Subject: [PATCH] Fixed Bug: The compiler was not able to deduce the Void argument as Input for the ReviewWireframe. Added a '()' tuple in order to make the project compile. --- StepExample/Review/ReviewWireframe.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/StepExample/Review/ReviewWireframe.swift b/StepExample/Review/ReviewWireframe.swift index d6c661a..d1cece2 100644 --- a/StepExample/Review/ReviewWireframe.swift +++ b/StepExample/Review/ReviewWireframe.swift @@ -19,7 +19,7 @@ func reviewStep(_ navigation: UINavigationController) -> StepT Void)? + var completion: ((()) -> Void)? init(navigation: UINavigationController) { self.navigation = navigation } @@ -37,7 +37,7 @@ class ReviewWireframe: Step { extension ReviewWireframe: ReviewViewDelegate { func didIndicateDoneAction() { - self.completion?() + self.completion?(()) } }