diff --git a/Tablet/TableDynamicRowBuilder.swift b/Tablet/TableDynamicRowBuilder.swift index 63b9daa..4f1e238 100644 --- a/Tablet/TableDynamicRowBuilder.swift +++ b/Tablet/TableDynamicRowBuilder.swift @@ -28,7 +28,7 @@ public protocol RowItemable { func configure(cell: UITableViewCell) } -public class RowItem: RowItemable { +public class RowItem: RowItemable { public let item: DataType diff --git a/TabletDemo/Classes/Presentation/Controllers/MainController.swift b/TabletDemo/Classes/Presentation/Controllers/MainController.swift index 0a4da70..6b23bfa 100644 --- a/TabletDemo/Classes/Presentation/Controllers/MainController.swift +++ b/TabletDemo/Classes/Presentation/Controllers/MainController.swift @@ -39,6 +39,7 @@ class MainController: UIViewController { let cellItem3 = RowItem(item: "3") + let b = TableDynamicRowBuilder(items: [cellItem, cellItem2, cellItem3])