ThingsViewController.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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 CustomButton;
  21. @class CustomLabel;
  22. @class CustomImageView;
  23. @interface ThingsHeaderTableViewCell : UITableViewCell
  24. @property (weak, nonatomic) IBOutlet CustomButton *btnHeader;
  25. @property (weak, nonatomic) IBOutlet CustomButton *btnEdit;
  26. @property (weak, nonatomic) GroupsModel *group;
  27. @property (assign, nonatomic) NSInteger section;
  28. - (IBAction)btnHeaderTouched:(id)sender;
  29. - (IBAction)btnEditTouched:(id)sender;
  30. @end
  31. @interface ThingsTableViewCell : UITableViewCell
  32. @property (weak, nonatomic) IBOutlet CustomImageView *imgvIcon;
  33. @property (weak, nonatomic) IBOutlet CustomLabel *lblTitle;
  34. @property (weak, nonatomic) IBOutlet UIView *controlContainerView;
  35. @end
  36. @interface ThingsAddTableViewCell : UITableViewCell
  37. @property (weak, nonatomic) IBOutlet CustomLabel *lblAdd;
  38. @end