Skip to content

Commit 464535a

Browse files
committed
Addressed some build warnings in sample app
1 parent cb424fa commit 464535a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

TPKeyboardAvoidingSample/SecondViewController.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
104104
cell.selectionStyle = UITableViewCellSelectionStyleNone;
105105
}
106106

107-
cell.textLabel.text = [NSString stringWithFormat:@"Order %d", indexPath.row];
108-
((UITextField*)cell.accessoryView).placeholder = [NSString stringWithFormat:@"%d bananas", indexPath.row];
107+
cell.textLabel.text = [NSString stringWithFormat:@"Order %d", (int)indexPath.row];
108+
((UITextField*)cell.accessoryView).placeholder = [NSString stringWithFormat:@"%d bananas", (int)indexPath.row];
109109

110110
return cell;
111111
}

0 commit comments

Comments
 (0)