Skip to content

Instantly share code, notes, and snippets.

@daniloc
Created May 14, 2019 19:44
Show Gist options
  • Save daniloc/b5d3165739ca8ee3d96df1feaf0c62d9 to your computer and use it in GitHub Desktop.
Save daniloc/b5d3165739ca8ee3d96df1feaf0c62d9 to your computer and use it in GitHub Desktop.
override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
if (section == TableSections.dynamicSection.rawValue) {
return dynamicContent.count
} else {
return staticCells.count
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment