| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- //
- // 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<ItemModel> *conditions;
- @property (weak, nonatomic) NSMutableArray<ItemModel> *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
|