mirror of
https://github.com/zhigang1992/RETableViewManager.git
synced 2026-06-18 15:39:08 +08:00
Update example project
This commit is contained in:
@@ -58,13 +58,11 @@
|
||||
[weakSelf.tableView deselectRowAtIndexPath:item.indexPath animated:YES];
|
||||
}]];
|
||||
|
||||
REStringItem *accessoryItem2 = [REStringItem itemWithTitle:@"Accessory 2" accessoryType:UITableViewCellAccessoryDetailDisclosureButton actionBlock:^(RETableViewItem *item) {
|
||||
[section addItem:[REStringItem itemWithTitle:@"Accessory 2" accessoryType:UITableViewCellAccessoryDetailDisclosureButton actionBlock:^(RETableViewItem *item) {
|
||||
[weakSelf.tableView deselectRowAtIndexPath:item.indexPath animated:YES];
|
||||
}];
|
||||
accessoryItem2.accessoryButtonActionBlock = ^(RETableViewItem *item) {
|
||||
} accessoryButtonActionBlock:^(RETableViewItem *item) {
|
||||
NSLog(@"Accessory button in accessoryItem2 was tapped");
|
||||
};
|
||||
[section addItem:accessoryItem2];
|
||||
}]];
|
||||
|
||||
[section addItem:[REStringItem itemWithTitle:@"Accessory 2" accessoryType:UITableViewCellAccessoryCheckmark actionBlock:^(RETableViewItem *item) {
|
||||
[weakSelf.tableView deselectRowAtIndexPath:item.indexPath animated:YES];
|
||||
|
||||
Reference in New Issue
Block a user