What is the cause of the "Thread 1: breakpoint 1.1" error so that I linked the table to View Control and added commands and modifications "class ViewController: UIViewController {
let people = [
("Rania Badawy", "Beba"),
("Hajer Ahmed", "Beni Swafe"),
("Taqwa Yousef", "Beni Swafe"),
]
let videos = [
("Android App Development", "74 videos"),
("C ++ for Beginners", "87 videos"),
("Java", "142 videos"),
("Python Programming", "63 videos"),
("Web Design", "68 videos"),
]
func numberOfSectionsInTableView (tableView: UITableView) -> Int {
return 2
}
func tableView (tableView: UITableView, number0fRowsInSection section: Int) -> Int {
if section == 0 {
return people.count
} else {
return videos.count
}
}
func tableView ( tableView: UITableView, cellForRowAtTndexPath indexPath: NSIndexPath) -> UITableViewCell {
let cell = UITableViewCell ()
if indexPath.section == 0 {
let (personName, ) = people [indexPath.row]
cell.textLabel? .text = personName
}
else {
let (videoTitle, _) = videos [indexPath.row]
cell.textLabel? .text = videoTitle
}
return cell
}
override func viewDidLoad () {
super.viewDidLoad ()
}
"But when Run, the project shows the previous mistake
I want your help, please