Hmm, too many rows, am I wrong somehow?
CaledoniaProject opened this issue · comments
CaledoniaProject commented
Hi,
I'm using the following code, just added two rows, but when I run it in simulator I got 7 rows in total.
Did I missing something? I guess the tableManager manages row count automatically?
self.manager = [[RETableViewManager alloc] initWithTableView:self.tableView];
// Add a section
RETableViewSection *section = [RETableViewSection section];
[self.manager addSection:section];
self.textItem = [RETextItem itemWithTitle:@"User" value:nil placeholder:@"aaa"];
[section addItem: self.textItem];
self.passwordItem = [RETextItem itemWithTitle:@"Pass" value:nil placeholder:@"bbb"];
self.passwordItem.secureTextEntry = YES;
[section addItem: self.passwordItem];