Swift - UITableView inside UIViewController, UITableView functions are not called
You have to set your view controller as a table view delegate/datasource:
add to the end of the viewDidLoad
:
authorArticlesTableView.delegate = self
authorArticlesTableView.dataSource = self
Set table delegate
and dataSource
:
override func viewDidLoad() {
super.viewDidLoad()
tableView.delegate = self
tableView.dataSource = self
}