| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- //
- // 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 UIImageView *imgvHubAlert;
- @property (weak, nonatomic) IBOutlet CustomLabel *lblTitle;
- @property (weak, nonatomic) IBOutlet CustomTableView *tableView;
- @property (weak, nonatomic) IBOutlet CustomButton *btnOption;
- @property (weak, nonatomic) IBOutlet UIView *editModeView;
- @property (weak, nonatomic) IBOutlet NSLayoutConstraint *constraintEditModeRight;
- //add hub
- @property (weak, nonatomic) IBOutlet UIView *addHubContainerView;
- @property (weak, nonatomic) IBOutlet UIImageView *imgvConnectHub;
- @property (weak, nonatomic) IBOutlet CustomLabel *lblConnectHub;
- @property (weak, nonatomic) IBOutlet CustomLabel *lblSimpleMemberInfo;
- @property (weak, nonatomic) IBOutlet CustomLabel *lblLeaveAccount;
- #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 *imgvStatus;
- @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
- @class CustomLabelButton;
- @interface RulesCreateTableViewCell : KNTableViewCell
- @property (weak, nonatomic) IBOutlet CustomLabelButton *btnAdd;
- @end
|