We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb424fa commit 464535aCopy full SHA for 464535a
1 file changed
TPKeyboardAvoidingSample/SecondViewController.m
@@ -104,8 +104,8 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
104
cell.selectionStyle = UITableViewCellSelectionStyleNone;
105
}
106
107
- cell.textLabel.text = [NSString stringWithFormat:@"Order %d", indexPath.row];
108
- ((UITextField*)cell.accessoryView).placeholder = [NSString stringWithFormat:@"%d bananas", indexPath.row];
+ cell.textLabel.text = [NSString stringWithFormat:@"Order %d", (int)indexPath.row];
+ ((UITextField*)cell.accessoryView).placeholder = [NSString stringWithFormat:@"%d bananas", (int)indexPath.row];
109
110
return cell;
111
0 commit comments