mirror of
https://github.com/zhigang1992/RETableViewManager.git
synced 2026-05-27 09:41:54 +08:00
Add comments
This commit is contained in:
@@ -32,6 +32,8 @@
|
||||
RETableViewSection *section = [RETableViewSection sectionWithHeaderTitle:sectionTitle];
|
||||
section.indexTitle = sectionTitle; // assign index title
|
||||
|
||||
// Add 5 items with name `section title + item index`
|
||||
//
|
||||
for (NSInteger i = 1; i <= 5; i++)
|
||||
[section addItem:[NSString stringWithFormat:@"%@%i", sectionTitle, i]];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user