| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- //
- // 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 UIImageView *imgBg;
- @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 RulesAddTextTableViewCell : KNTableViewCell2
- @property (weak, nonatomic) IBOutlet UIImageView *imgTxtBg;
- @property (weak, nonatomic) IBOutlet CustomTextView *txtView;
- @property (weak, nonatomic) IBOutlet CustomButton *btnAdd;
- @property (weak, nonatomic) IBOutlet CustomButton *btnDelete;
- @property (weak, nonatomic) IBOutlet CustomButton *btnConfirm;
- - (void)registHeightChangeBlock:(void (^)(CGFloat height)) heightChangeBlock ;
- @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
|