I have a list of name and values I need to display. It’s difficult to maintain lots of labels and associated content textfields in IB so I’m thinking of using UITableView. Is there a way to fix the labels for cells, then just either bind to an NSDictionary and display the key/value names or fix the cells and labels in a UITableView?
Share
You can’t bind to the table view as you might do when writing OS/X apps, but the two methods below, in your UITableView’s datasource should do the trick:
or in Swift