Skip to content

Commit

Permalink
Addressed some build warnings in sample app
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeltyson committed Aug 8, 2014
1 parent cb424fa commit 464535a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TPKeyboardAvoidingSample/SecondViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
cell.selectionStyle = UITableViewCellSelectionStyleNone;
}

cell.textLabel.text = [NSString stringWithFormat:@"Order %d", indexPath.row];
((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];

return cell;
}
Expand Down

0 comments on commit 464535a

Please sign in to comment.