ThingsGroupAddViewController.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. //
  2. // ThingsGroupAddViewController.h
  3. // kneet
  4. //
  5. // Created by Jason Lee on 5/14/15.
  6. // Copyright (c) 2015 ntels. All rights reserved.
  7. //
  8. #import "JDViewController.h"
  9. #import "DeviceModel.h"
  10. @interface ThingsGroupAddViewController : JDViewController
  11. #pragma mark - Properties
  12. @property (strong, nonatomic) GroupsModel *addedGroup;
  13. @property (weak, nonatomic) NSMutableArray<GroupsModel> *groupList;
  14. @property (weak, nonatomic) IBOutlet UITableView *tableView;
  15. @property (weak, nonatomic) IBOutlet CustomButton *btnSave;
  16. @property (weak, nonatomic) IBOutlet CustomButton *btnCancel;
  17. #pragma mark - Instance Methods
  18. - (IBAction)btnSaveTouched:(id)sender;
  19. - (IBAction)btnCancelTouched:(id)sender;
  20. @end
  21. @class GroupsModel;
  22. @class CustomLabel;
  23. @class CustomImageView;
  24. @interface ThingsGroupHeaderTableViewCell : UITableViewCell
  25. @property (weak, nonatomic) IBOutlet CustomButton *btnHeader;
  26. @property (weak, nonatomic) GroupsModel *group;
  27. @property (assign, nonatomic) NSInteger section;
  28. - (IBAction)btnHeaderTouched:(id)sender;
  29. @end
  30. @interface ThingsGroupTitleTableViewCell : UITableViewCell
  31. @property (weak, nonatomic) IBOutlet CustomLabel *lblGroupTitle;
  32. @property (weak, nonatomic) IBOutlet CustomLabel *lblGroupInfo;
  33. @end
  34. @class CustomCheckBox;
  35. @interface ThingsGroupTableViewCell : UITableViewCell
  36. @property (weak, nonatomic) IBOutlet CustomImageView *imgvIcon;
  37. @property (weak, nonatomic) IBOutlet CustomLabel *lblTitle;
  38. @property (weak, nonatomic) IBOutlet CustomCheckBox *chkSelect;
  39. @end