mirror of
https://github.com/zhigang1992/RETableViewManager.git
synced 2026-06-17 05:29:59 +08:00
Update example project
This commit is contained in:
@@ -176,13 +176,13 @@
|
||||
30DB066216E934AD006C9530 /* RETableViewCellStyle.m */,
|
||||
30DB066316E934AD006C9530 /* RETableViewItem.h */,
|
||||
30DB066416E934AD006C9530 /* RETableViewItem.m */,
|
||||
30DB066516E934AD006C9530 /* RETableViewManager.bundle */,
|
||||
30DB066616E934AD006C9530 /* RETableViewManager.h */,
|
||||
30DB066716E934AD006C9530 /* RETableViewManager.m */,
|
||||
30F41316170E07BB0004EBAE /* RETableViewOptionsController.h */,
|
||||
30F41317170E07BB0004EBAE /* RETableViewOptionsController.m */,
|
||||
30DB066816E934AD006C9530 /* RETableViewSection.h */,
|
||||
30DB066916E934AD006C9530 /* RETableViewSection.m */,
|
||||
30DB066516E934AD006C9530 /* RETableViewManager.bundle */,
|
||||
);
|
||||
name = RETableViewManager;
|
||||
path = ../RETableViewManager;
|
||||
|
||||
@@ -43,6 +43,9 @@
|
||||
RETextItem *fullLengthField = [RETextItem itemWithTitle:nil value:nil placeholder:@"Full length text field"];
|
||||
[section addItem:fullLengthField];
|
||||
|
||||
[section addItem:[RETextItem itemWithTitle:@"Text item" value:nil placeholder:@"Text"]];
|
||||
[section addItem:[RENumberItem itemWithTitle:@"Phone" value:@"" placeholder:@"(123) 456-7890" format:@"(XXX) XXX-XXXX"]];
|
||||
|
||||
RETextItem *passwordItem = [RETextItem itemWithTitle:@"Password" value:nil placeholder:@"Password item"];
|
||||
passwordItem.secureTextEntry = YES;
|
||||
[section addItem:passwordItem];
|
||||
@@ -68,11 +71,6 @@
|
||||
}];
|
||||
[section addItem:optionItem];
|
||||
|
||||
section = [[RETableViewSection alloc] initWithHeaderTitle:@"Basic controls"];
|
||||
[_manager addSection:section];
|
||||
[section addItem:[RETextItem itemWithTitle:@"Text item 1" value:nil placeholder:@"Text"]];
|
||||
[section addItem:[RENumberItem itemWithTitle:@"Phone" value:@"" placeholder:@"(123) 456-7890" format:@"(XXX) XXX-XXXX"]];
|
||||
|
||||
section = [[RETableViewSection alloc] initWithHeaderTitle:@"Credit card"];
|
||||
[_manager addSection:section];
|
||||
[section addItem:[RECreditCardItem item]];
|
||||
|
||||
Reference in New Issue
Block a user