I try to implement UITableView programmatically without use of xib or Storyboards. This is my code:
ViewController.swift
import UIKi
I had a similar issue in that the data would not populate for my programmatic UITableView. This was because I was using a delegate/dataSource without a strong reference. Once I kept a reference to it (I had one class implementing both UITableViewDataSource and UITableViewDelegate), the data was populated.