// // ThingsViewController.h // kneet // // Created by Jason Lee on 3/10/15. // Copyright (c) 2015 ntels. All rights reserved. // #import "JDViewController.h" @class DeviceModel; @protocol GroupsModel; @interface ThingsViewController : JDViewController #pragma mark - Properties @property (strong, nonatomic) NSMutableArray *groupList; @property (weak, nonatomic) IBOutlet UITableView *tableView; #pragma mark - Instance Methods - (void)prepareViewDidLoad; - (void)updateDevice:(DeviceModel *)device; @end @class GroupsModel; @class CustomButton; @class CustomLabel; @class CustomImageView; @interface ThingsHeaderTableViewCell : UITableViewCell @property (weak, nonatomic) IBOutlet CustomButton *btnHeader; @property (weak, nonatomic) IBOutlet CustomButton *btnEdit; @property (weak, nonatomic) GroupsModel *group; @property (assign, nonatomic) NSInteger section; - (IBAction)btnHeaderTouched:(id)sender; - (IBAction)btnEditTouched:(id)sender; @end @interface ThingsTableViewCell : UITableViewCell @property (weak, nonatomic) IBOutlet CustomImageView *imgvIcon; @property (weak, nonatomic) IBOutlet CustomLabel *lblTitle; @property (weak, nonatomic) IBOutlet UIView *controlContainerView; @end @interface ThingsAddTableViewCell : UITableViewCell @property (weak, nonatomic) IBOutlet CustomLabel *lblAdd; @end