Fix placeholderColor issue, update example

This commit is contained in:
Roman Efimov
2013-04-11 11:01:20 -05:00
parent 2a9e06f3e2
commit 0a5125ba1e
4 changed files with 22 additions and 8 deletions

View File

@@ -79,6 +79,10 @@
}];
[section addItem:optionItem];
RELongTextItem *longTextItem = [RELongTextItem itemWithValue:nil placeholder:@"Multiline text field"];
longTextItem.cellHeight = 88;
[section addItem:longTextItem];
section = [[RETableViewSection alloc] initWithHeaderTitle:@"Credit card"];
[_manager addSection:section];
[section addItem:[RECreditCardItem item]];

View File

@@ -46,13 +46,6 @@
[weakSelf.tableView deselectRowAtIndexPath:item.indexPath animated:YES];
[weakSelf.navigationController pushViewController:[[ListViewController alloc] initWithStyle:UITableViewStylePlain] animated:YES];
}]];
RETextItem *fullLengthField = [RETextItem itemWithTitle:nil value:nil placeholder:@"Full length text field"];
[section addItem:fullLengthField];
RELongTextItem *longTextItem = [RELongTextItem itemWithValue:nil placeholder:@"Multiline text field"];
longTextItem.cellHeight = 88;
[section addItem:longTextItem];
}
@end