Implement the protocols for UITableViewDataSource, UITableViewDelegatein .hor .m, then connect the tableview with the first responder -datasourceand -delegatein the interface builder and maintain the necessary protocols in yours .m.
For a data source, these are: cellForRowAtIndexPathand numbersOfRowsInSection.
Set cell.textlabel.textto your cellForRowAtIndexPathmethod.
source
share