Add `func append(contentsOf elements: [RowRepresentation])`
This commit is contained in:
parent
63de77ebef
commit
9ba6b54bd2
|
@ -79,6 +79,12 @@ open class Section {
|
|||
return self
|
||||
}
|
||||
|
||||
@discardableResult
|
||||
open func append(contentsOf elements: [RowRepresentation]) -> Self {
|
||||
rows.append(contentsOf: elements)
|
||||
return self
|
||||
}
|
||||
|
||||
@discardableResult
|
||||
open func didSelect(_ action: @escaping (UITableView, IndexPath) -> Void) -> Self {
|
||||
selectedAction = action
|
||||
|
|
Loading…
Reference in New Issue