From 5b1f199d1b8fe0014257953bc1e19508bbe00fcd Mon Sep 17 00:00:00 2001 From: Mathias Claassen Date: Fri, 26 Nov 2021 09:37:15 -0300 Subject: [PATCH] Fix responder type --- Source/Core/Cell.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Cell.swift b/Source/Core/Cell.swift index e5e851fb..7d008238 100644 --- a/Source/Core/Cell.swift +++ b/Source/Core/Cell.swift @@ -47,7 +47,7 @@ open class BaseCell: UITableViewCell, BaseCellType { Function that returns the FormViewController this cell belongs to. */ public func formViewController() -> FormViewController? { - var responder: AnyObject? = self + var responder: UIResponder? = self while responder != nil { if let formVC = responder as? FormViewController { return formVC