| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- //
- // RulesViewController.h
- // kneet
- //
- // Created by Jason Lee on 3/18/15.
- // Copyright (c) 2015 ntels. All rights reserved.
- //
- #import "JDViewController.h"
- @class RuleModel;
- @interface RulesViewController : JDViewController
- #pragma mark - Properties
- @property (weak, nonatomic) IBOutlet CustomLabel *lblTitle;
- @property (weak, nonatomic) IBOutlet UIView *addHubContainerView;
- @property (weak, nonatomic) IBOutlet CustomTableView *tableView;
- @property (weak, nonatomic) IBOutlet CustomButton *btnAddHub;
- @property (weak, nonatomic) IBOutlet UIView *editModeView;
- @property (weak, nonatomic) IBOutlet NSLayoutConstraint *constraintEditModeRight;
- #pragma mark - Instance Methods
- - (void)prepareViewDidLoad;
- - (void)requestRuleListRecently;
- - (void)updateHomeHubStatusToRules;
- - (void)updateRule:(RuleModel *)scene;
- - (IBAction)btnAddHubTouched:(id)sender;
- - (IBAction)btnOptionTouched:(id)sender;
- - (IBAction)btnCloseOnEditModeTouched:(id)sender;
- @end
- @class CustomImageView;
- @class CustomLabel;
- @class CustomButton;
- @interface RulesTableViewCell : KNTableViewCell
- @property (weak, nonatomic) IBOutlet CustomImageView *imgvTrigger;
- @property (weak, nonatomic) IBOutlet CustomLabel *lblRuleName;
- @property (weak, nonatomic) IBOutlet CustomButton *btnRulePlay;
- @property (weak, nonatomic) IBOutlet CustomButton *btnDelete;
- @end
|