From 6472f8a3bbe4fc7e342d6104850cfa1335a47ced Mon Sep 17 00:00:00 2001 From: Ivan Smolin Date: Fri, 5 Mar 2021 11:49:24 +0300 Subject: [PATCH] fix: make TableDirectorHolder public --- .../BaseCustomViewController+TableDirectorHolder.swift | 2 +- TITableKitUtils/Sources/Protocols/TableDirectorHolder.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TITableKitUtils/Sources/Extensions/ViewControllers/BaseCustomViewController+TableDirectorHolder.swift b/TITableKitUtils/Sources/Extensions/ViewControllers/BaseCustomViewController+TableDirectorHolder.swift index 712e0551..d96705f0 100644 --- a/TITableKitUtils/Sources/Extensions/ViewControllers/BaseCustomViewController+TableDirectorHolder.swift +++ b/TITableKitUtils/Sources/Extensions/ViewControllers/BaseCustomViewController+TableDirectorHolder.swift @@ -23,7 +23,7 @@ import TIUIKitCore import TableKit extension BaseCustomViewController: TableDirectorHolder where View: TableDirectorHolder { - var tableDirector: View.TableDirectorType { + public var tableDirector: View.TableDirectorType { customView.tableDirector } } diff --git a/TITableKitUtils/Sources/Protocols/TableDirectorHolder.swift b/TITableKitUtils/Sources/Protocols/TableDirectorHolder.swift index abd69181..eb9fb638 100644 --- a/TITableKitUtils/Sources/Protocols/TableDirectorHolder.swift +++ b/TITableKitUtils/Sources/Protocols/TableDirectorHolder.swift @@ -22,7 +22,7 @@ import TableKit -protocol TableDirectorHolder { +public protocol TableDirectorHolder { associatedtype TableDirectorType: TableDirector var tableDirector: TableDirectorType { get }