| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- //
- // RulesAddViewController.h
- // kneet2
- //
- // Created by Jason Lee on 11/20/15.
- // Copyright © 2015 ntels. All rights reserved.
- //
- #import "JDViewController.h"
- @class CustomCheckBox;
- @class CustomLabel;
- @class CustomImageView;
- @class CustomButton;
- @class CustomTextView;
- @class CustomTextField;
- @class RuleDetailModel;
- @interface RulesAddViewController : JDViewController
- #pragma mark - Properties
- @property (strong, nonatomic) RuleDetailModel *refRuleDetail;
- @property (weak, nonatomic) IBOutlet CustomLabel *lblTitle;
- @property (weak, nonatomic) IBOutlet CustomTableView *tableView;
- #pragma mark - Instance Methods
- - (IBAction)btnConfirmTouched:(id)sender;
- - (IBAction)btnCancelTouched:(id)sender;
- + (BOOL)hasDeleteNode:(ItemModel *)deviceItem;
- + (void)modifyAction:(ItemSubModel *)subItem refDevices:(NSMutableArray<ItemModel> *)refDevices tableView:(CustomTableView *)tableView;
- @end
- @interface RulesAddTitleTableViewCell : KNTableViewCell2
- @property (weak, nonatomic) IBOutlet CustomTextField *txtRuleTitle;
- @property (weak, nonatomic) IBOutlet CustomButton *btnConfirm; // 확인 버튼
- @property (weak, nonatomic) IBOutlet CustomButton *btnDelete;
- @property (weak, nonatomic) IBOutlet CustomButton *btnAdd;
- @end
- @interface RulesAddHeaderTableViewCell : KNTableViewCell2
- @property (weak, nonatomic) IBOutlet CustomLabel *lblTitle;
- @property (weak, nonatomic) IBOutlet CustomButton *btnAdd;
- @end
- @interface RulesAddTableViewCell : KNTableViewCell2
- @property (weak, nonatomic) IBOutlet CustomImageView *imgvIcon;
- @property (weak, nonatomic) IBOutlet CustomLabel *lblItem;
- @property (weak, nonatomic) IBOutlet CustomLabel *lblSubItem;
- @property (weak, nonatomic) IBOutlet CustomLabel *lblCondition;
- @property (weak, nonatomic) IBOutlet CustomButton *btnDelete;
- @end
- @interface RulesAddPushTableViewCell : KNTableViewCell2
- @property (weak, nonatomic) IBOutlet CustomTextView *txvMessage;
- @property (weak, nonatomic) IBOutlet CustomButton *btnDelete;
- @property (weak, nonatomic) IBOutlet CustomButton *btnConfirm; // 확인 버튼
- @end
- @interface RulesAddConditionHeaderTableViewCell : KNTableViewCell2
- @property (weak, nonatomic) IBOutlet CustomCheckBox *chkConditions;
- @property (weak, nonatomic) IBOutlet CustomButton *btnConditions;
- @end
- @interface RulesAddConditionTableViewCell : KNTableViewCell2
- @property (weak, nonatomic) IBOutlet UIView *container;
- @property (weak, nonatomic) IBOutlet NSLayoutConstraint *constraintContainerHeight;
- @end
- @interface RulesAddFooterTableViewCell : KNTableViewCell2
- @end
|