Created
February 7, 2020 20:30
-
-
Save pranjalsatija/cbc083691e09d361923c0aa649707287 to your computer and use it in GitHub Desktop.
A simple example of using Static to populate a table view.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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