MainViewController.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. //
  2. // MainViewController.h
  3. // kneet2
  4. //
  5. // Created by Jason Lee on 10/2/15.
  6. // Copyright © 2015 ntels. All rights reserved.
  7. //
  8. #import "JDViewController.h"
  9. @class ThingsViewController;
  10. @interface MainViewController : JDViewController
  11. #pragma mark - Properties
  12. @property (weak, nonatomic) IBOutlet UIView *tabBar;
  13. @property (weak, nonatomic) IBOutlet UIScrollView *scrollView;
  14. #pragma mark - Extend view
  15. @property (weak, nonatomic) IBOutlet NSLayoutConstraint *constraintExpandViewTop;
  16. @property (weak, nonatomic) IBOutlet CustomButton *btnHomegrpImage;
  17. //extend view
  18. @property (weak, nonatomic) IBOutlet CustomButton *btnHomeHub;
  19. @property (weak, nonatomic) IBOutlet CustomButton *btnModeHome;
  20. @property (weak, nonatomic) IBOutlet CustomButton *btnModeAway;
  21. @property (weak, nonatomic) IBOutlet CustomButton *btnModeMorning;
  22. @property (weak, nonatomic) IBOutlet CustomButton *btnModeNight;
  23. @property (strong, nonatomic) ThingsViewController *tvc;
  24. #pragma mark - Instance Methods
  25. - (void)updateHomeHubStatusToChildViewController;
  26. - (void)loadThingsViewController;
  27. - (void)loadRulesViewController;
  28. - (void)loadMembersViewController;
  29. - (IBAction)btnThingsTouched:(id)sender;
  30. - (IBAction)btnRuleTouched:(id)sender;
  31. - (IBAction)btnMemberTouched:(id)sender;
  32. - (IBAction)btnExtendTouched:(id)sender;
  33. - (IBAction)btnCollapseTouched:(id)sender;
  34. //Extend view
  35. - (IBAction)btnProfileTouched:(id)sender;
  36. - (IBAction)btnNoticeTouched:(id)sender;
  37. - (IBAction)btnMessageBoxTouched:(id)sender;
  38. - (IBAction)btnHomeHubTouched:(id)sender;
  39. - (IBAction)btnSettingsTouched:(id)sender;
  40. //mode
  41. - (IBAction)btnModeHomeTouched:(id)sender;
  42. - (IBAction)btnModeAwayTouched:(id)sender;
  43. - (IBAction)btnModeMorningTouched:(id)sender;
  44. - (IBAction)btnModeNightTouched:(id)sender;
  45. @end