HomeMemberViewController.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. //
  2. // HomeMemberViewController.h
  3. // kneet
  4. //
  5. // Created by Jason Lee on 6/15/15.
  6. // Copyright (c) 2015 ntels. All rights reserved.
  7. //
  8. #import "JDViewController.h"
  9. @class CustomLabelButton;
  10. @interface HomeMemberViewController : JDViewController
  11. #pragma mark - Properties
  12. @property (weak, nonatomic) IBOutlet UIImageView *imgvHubAlert;
  13. @property (weak, nonatomic) IBOutlet CustomLabel *lblTitle;
  14. @property (weak, nonatomic) IBOutlet CustomButton *btnOption;
  15. @property (weak, nonatomic) IBOutlet UIView *editModeView;
  16. @property (weak, nonatomic) IBOutlet UICollectionView *collectionView;
  17. //add hub
  18. @property (weak, nonatomic) IBOutlet UIView *addHubContainerView;
  19. @property (weak, nonatomic) IBOutlet UIImageView *imgvConnectHub;
  20. @property (weak, nonatomic) IBOutlet CustomLabel *lblConnectHub;
  21. @property (weak, nonatomic) IBOutlet CustomLabel *lblSimpleMemberInfo;
  22. @property (weak, nonatomic) IBOutlet CustomLabel *lblLeaveAccount;
  23. @property (weak, nonatomic) IBOutlet NSLayoutConstraint *constraintEditModeRight;
  24. #pragma mark - Instance Methods
  25. - (void)prepareViewDidLoad;
  26. - (void)updateHomeHubStatusToMembers;
  27. - (IBAction)btnOptionTouched:(id)sender;
  28. - (IBAction)btnDeleteOnEditModeTouched:(id)sender;
  29. - (IBAction)btnCloseOnEditModeTouched:(id)sender;
  30. - (void)leaveHomegroup;
  31. @end
  32. @class CustomButton;
  33. @class CustomLabel;
  34. @class CustomImageView;
  35. @class CustomCheckBox;
  36. @interface HomeMemberCollectionCell : UICollectionViewCell
  37. @property (weak, nonatomic) IBOutlet CustomButton *btnProfile;
  38. @property (weak, nonatomic) IBOutlet CustomLabel *lblNickname;
  39. @property (weak, nonatomic) IBOutlet CustomLabel *lblStatus;
  40. @property (weak, nonatomic) IBOutlet CustomCheckBox *chkSelect;
  41. @property (weak, nonatomic) IBOutlet UIView *vline;
  42. @end
  43. @interface HomeMemberAddCollectionCell : UICollectionViewCell
  44. @property (weak, nonatomic) IBOutlet CustomLabelButton *btnAdd;
  45. @property (weak, nonatomic) IBOutlet CustomLabel *lblTitle;
  46. @property (weak, nonatomic) IBOutlet UIView *vline;
  47. @end
  48. @interface HomeMemberCollectionFooterView : UICollectionReusableView
  49. @property (weak, nonatomic) IBOutlet CustomLabelButton *btnAdd;
  50. @property (weak, nonatomic) IBOutlet CustomLabel *lblMemInvite;
  51. @end