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:
@@ -63,11 +63,13 @@
|
||||
NSURL *userpicURL = [NSURL URLWithString:[dictionary objectForKey:@"userpic_url"]];
|
||||
NSURL *imageURL = [NSURL URLWithString:[dictionary objectForKey:@"image_url"]];
|
||||
|
||||
// Create section
|
||||
// Create section with a header view
|
||||
//
|
||||
section = [[RETableViewSection alloc] initWithHeaderView:[ListHeaderView headerViewWithImageURL:userpicURL username:username]];
|
||||
[_manager addSection:section];
|
||||
|
||||
// Add item (image)
|
||||
//
|
||||
[section addItem:[ListImageItem itemWithImageURL:imageURL]];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user