How do I populate two sections in a tableview with two different arrays using swift?
TableView Cells You could use a multidimensional array. For example: let data = [[“0,0”, “0,1”, “0,2”], [“1,0”, “1,1”, “1,2”]] For the number of sections use: override func numberOfSectionsInTableView(tableView: UITableView) -> Int { return data.count } Then, to specify the number of rows in each section use: override func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int … Read more