ThingsViewController.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. //
  2. // ThingsViewController.h
  3. // kneet
  4. //
  5. // Created by Jason Lee on 3/10/15.
  6. // Copyright (c) 2015 ntels. All rights reserved.
  7. //
  8. #import "JDViewController.h"
  9. @class DeviceModel;
  10. @protocol GroupsModel;
  11. @interface ThingsViewController : JDViewController
  12. #pragma mark - Properties
  13. @property (strong, nonatomic) NSMutableArray<GroupsModel> *groupList;
  14. @property (weak, nonatomic) IBOutlet UITableView *tableView;
  15. #pragma mark - Instance Methods
  16. - (void)prepareViewDidLoad;
  17. - (void)updateDevice:(DeviceModel *)device;
  18. @end
  19. @class GroupsModel;
  20. @class CustomLabel;
  21. @class CustomImageView;
  22. @interface ThingsHeaderTableViewCell : UITableViewCell
  23. @property (weak, nonatomic) IBOutlet CustomButton *btnHeader;
  24. @property (weak, nonatomic) IBOutlet CustomButton *btnEdit;
  25. @property (weak, nonatomic) GroupsModel *group;
  26. @property (assign, nonatomic) NSInteger section;
  27. - (IBAction)btnHeaderTouched:(id)sender;
  28. - (IBAction)btnEditTouched:(id)sender;
  29. @end
  30. @interface ThingsTableViewCell : UITableViewCell
  31. @property (weak, nonatomic) IBOutlet CustomImageView *imgvIcon;
  32. @property (weak, nonatomic) IBOutlet CustomLabel *lblTitle;
  33. @property (weak, nonatomic) IBOutlet UIView *controlContainerView;
  34. @end
  35. @interface ThingsAddTableViewCell : UITableViewCell
  36. @property (weak, nonatomic) IBOutlet CustomLabel *lblAdd;
  37. @end