How to create a UITableViewCell and dequeue programatically

Check out How to create a UITableViewCell and dequeue programatically by JR. Here is an excerpt:

If you ever need to create and dequeue a custom cell programatically (not use storyboards) do this

Screen Shot 2017-06-04 at 2.12.19 PM.png

Code

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
    static NSString *cellIdentifier = @"Cell";

    [tableView...

The full article is available here.