// // RulesConditionViewController.h // kneet2 // // Created by Jason Lee on 11/25/15. // Copyright © 2015 ntels. All rights reserved. // #import "JDViewController.h" @class ItemModel; @class CustomImageView; @class CustomLabel; @class CustomButton; @class CustomTableView; @interface RulesConditionViewController : JDViewController #pragma mark - Properties @property (weak, nonatomic) NSMutableArray *conditions; @property (weak, nonatomic) NSMutableArray *refDevices; @property (assign, nonatomic) BOOL isShowingMode; @property (weak, nonatomic) IBOutlet CustomTableView *tableView; @property (assign, nonatomic) CGFloat tableHeight; - (void)btnAddModeTouched:(id)sender; - (void)btnAddDurationTouched:(id)sender; - (void)btnAddDeviceTouched:(id)sender; @end @interface RulesConditionHeaderTableViewCell : KNTableViewCell2 @property (weak, nonatomic) IBOutlet CustomLabel *lblTitle; @property (weak, nonatomic) IBOutlet CustomButton *btnAdd; @end @interface RulesConditionDeviceTableViewCell : 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; @property (weak, nonatomic) IBOutlet UIView *bottomLine; @property (weak, nonatomic) IBOutlet NSLayoutConstraint *constraintConditionLabelRight; @end @interface RulesConditionTableViewCell : KNTableViewCell2 @property (weak, nonatomic) IBOutlet CustomImageView *imgvIcon; @property (weak, nonatomic) IBOutlet CustomLabel *lblItem; @property (weak, nonatomic) IBOutlet CustomButton *btnDelete; @property (weak, nonatomic) IBOutlet UIView *bottomLine; @end @interface RulesConditionFooterTableViewCell : KNTableViewCell2 @end