I have two arrays Data1 and Data2 and I want to populate the data within each of these (they contain strings) into a tableview in two different sections.
The first s
You can determine which section you are in by looking at indexPath.section. To specify the titles, override the function
indexPath.section
func tableView(tableView: UITableView!, titleForHeaderInSection section: Int) -> String!