Skip to content

Instantly share code, notes, and snippets.

@daniloc
Created May 14, 2019 19:37
Show Gist options
  • Save daniloc/9d799e1651dbd6feafdd44f627c42dd8 to your computer and use it in GitHub Desktop.
Save daniloc/9d799e1651dbd6feafdd44f627c42dd8 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