You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, declarations of contents of UITableView are expressed by [CellDeclaration]. One idea to support sections is expressing sections by some type like [TableViewSectionDeclaration<CellDeclaration>].
With TableViewSectionDeclaration<CellDeclaration>, a conformer may look like:
classViewController:SectionsDeclarator{enumCellDeclaration{case a, b
}func declareSections(_ section:(TableViewSectionDeclaration<CellDeclaration>)->Void){section(TableViewSectionDeclaration(headerTitle:"A"){ cell incell(.a)})section(TableViewSectionDeclaration(headerTitle:"B"){ cell incell(.b)cell(.b)cell(.b)})}}
The text was updated successfully, but these errors were encountered:
Hey, thanks for sharing your thoughts. This proposal would add support for PR #9 and PR #10 right ? Any updates on this ? We are currently maintaining a fork for both of these features to work.
Currently, declarations of contents of UITableView are expressed by [CellDeclaration]. One idea to support sections is expressing sections by some type like [TableViewSectionDeclaration<CellDeclaration>].
With TableViewSectionDeclaration<CellDeclaration>, a conformer may look like:
The text was updated successfully, but these errors were encountered: