Jack Humphries Jack Humphries - 4 months ago 20
iOS Question

Change the text color of all the cells in a table view

Is there a way to change the color of the text in ALL of the cells in a table view? I've looked this up before and it only talks about ways to change the text color of one cell. And my app does not have a set number of cells, so this wouldn't work.



- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath


cell.textLabel.textColor = [UIColor greenColor];