|
|
@@ -99,26 +99,26 @@
|
|
|
}
|
|
|
|
|
|
- (void)setThingsPopoverOptions {
|
|
|
- //set Popover Contents
|
|
|
- __weak typeof(self) weakSelf = self;
|
|
|
- _popooverOptionArray = [[NSMutableArray alloc] init];
|
|
|
-
|
|
|
- [_popooverOptionArray addObject:@{@"menuName" : NSLocalizedString(@"새로고침",nil),
|
|
|
- @"iconName": @"img_bg_morepopup_icon_refresh",
|
|
|
- @"target": weakSelf,
|
|
|
- @"selector": [NSValue valueWithPointer:@selector(refreshRuleList)]}];
|
|
|
-
|
|
|
- if ([JDFacade facade].loginUser.level > 10) {//파워유저 이상일 경우,
|
|
|
- [_popooverOptionArray addObject:@{@"menuName" : NSLocalizedString(@"만들기", @"만들기"),
|
|
|
- @"iconName": @"img_bg_morepopup_icon_edit",
|
|
|
- @"target": weakSelf,
|
|
|
- @"selector": [NSValue valueWithPointer:@selector(addNewRule)]}];
|
|
|
-
|
|
|
- [_popooverOptionArray addObject:@{@"menuName" : NSLocalizedString(@"삭제", @"삭제"),
|
|
|
- @"iconName": @"img_bg_morepopup_icon_del",
|
|
|
- @"target": weakSelf,
|
|
|
- @"selector": [NSValue valueWithPointer:@selector(toggleEditMode)]}];
|
|
|
- }
|
|
|
+// //set Popover Contents
|
|
|
+// __weak typeof(self) weakSelf = self;
|
|
|
+// _popooverOptionArray = [[NSMutableArray alloc] init];
|
|
|
+//
|
|
|
+// [_popooverOptionArray addObject:@{@"menuName" : NSLocalizedString(@"새로고침",nil),
|
|
|
+// @"iconName": @"img_bg_morepopup_icon_refresh",
|
|
|
+// @"target": weakSelf,
|
|
|
+// @"selector": [NSValue valueWithPointer:@selector(refreshRuleList)]}];
|
|
|
+//
|
|
|
+// if ([JDFacade facade].loginUser.level > 10) {//파워유저 이상일 경우,
|
|
|
+// [_popooverOptionArray addObject:@{@"menuName" : NSLocalizedString(@"만들기", @"만들기"),
|
|
|
+// @"iconName": @"img_bg_morepopup_icon_edit",
|
|
|
+// @"target": weakSelf,
|
|
|
+// @"selector": [NSValue valueWithPointer:@selector(addNewRule)]}];
|
|
|
+//
|
|
|
+// [_popooverOptionArray addObject:@{@"menuName" : NSLocalizedString(@"삭제", @"삭제"),
|
|
|
+// @"iconName": @"img_bg_morepopup_icon_del",
|
|
|
+// @"target": weakSelf,
|
|
|
+// @"selector": [NSValue valueWithPointer:@selector(toggleEditMode)]}];
|
|
|
+// }
|
|
|
}
|
|
|
|
|
|
- (void)setMoreBtnArray {
|