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
Code
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *cellIdentifier = @"Cell"; [tableView...
The full article is available here.