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 }