added operators to TableSectionBuilder
This commit is contained in:
parent
b40306e771
commit
17c7475d2a
|
|
@ -102,4 +102,14 @@ public extension TableSectionBuilder {
|
|||
if let tableView = tableView { rowBuilders.forEach { $0.registerCell(inTableView: tableView) } }
|
||||
builders.appendContentsOf(rowBuilders)
|
||||
}
|
||||
}
|
||||
|
||||
public func +=(left: TableSectionBuilder, right: RowBuilder) {
|
||||
|
||||
left.appendRowBuilder(right)
|
||||
}
|
||||
|
||||
public func +=(left: TableSectionBuilder, right: [RowBuilder]) {
|
||||
|
||||
left.appendRowBuilders(right)
|
||||
}
|
||||
Binary file not shown.
Loading…
Reference in New Issue