Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
- {
- [self.tableView cellForRowAtIndexPath:indexPath].textLabel.font = [UIFont fontWithName:@"Arial-MT" size:18];
- }
- - (NSIndexPath *)tableView:(UITableView *)tableView willSelectRowAtIndexPath:(NSIndexPath *)indexPath
- {
- UITableViewCell *cellForRowToBeSelected = [tableView cellForRowAtIndexPath:indexPath];
- if (cellForRowToBeSelected.selected)
- {
- [self.tableView cellForRowAtIndexPath:indexPath].textLabel.font = [UIFont systemFontOfSize:[UIFont systemFontSize]];
- }
- return indexPath;
- }
Add Comment
Please, Sign In to add comment