1) in my ViewDidLoad I create an array of cells.
2) Then in my cellForRowAtIndexPath, I return the particular cell in my array.
- (UITableViewCell )tableView:(UITableView )tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
NSUInteger row = [indexPath row];
return [cellArray objectAtIndex:row]; }
1) in my ViewDidLoad I create an array of cells.
2) Then in my cellForRowAtIndexPath, I return the particular cell in my array.
- (UITableViewCell )tableView:(UITableView )tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
NSUInteger row = [indexPath row];
return [cellArray objectAtIndex:row]; }