Skip to content

Instantly share code, notes, and snippets.

@pranjalsatija
Created February 7, 2020 20:30
Show Gist options
  • Save pranjalsatija/cbc083691e09d361923c0aa649707287 to your computer and use it in GitHub Desktop.
Save pranjalsatija/cbc083691e09d361923c0aa649707287 to your computer and use it in GitHub Desktop.
A simple example of using Static to populate a table view.
let dataSource = DataSource()
dataSource.sections = [
Section(rows: [
Row(text: "Hello")
])
]
dataSource.tableView = tableView
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment