HomeMemberViewController.h 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. //#import "MoreButtonDelegate.h"
  10. #import "MorePopOverViewController.h"
  11. @class CustomLabelButton;
  12. @interface HomeMemberViewController : JDViewController
  13. #pragma mark - Properties
  14. @property (weak, nonatomic) IBOutlet UIImageView *imgvHubAlert;
  15. @property (weak, nonatomic) IBOutlet CustomLabel *lblTitle;
  16. @property (weak, nonatomic) IBOutlet CustomButton *btnOption;
  17. @property (weak, nonatomic) IBOutlet CustomButton *btnClose;
  18. @property (weak, nonatomic) IBOutlet UIView *editModeView;
  19. @property (weak, nonatomic) IBOutlet UICollectionView *collectionView;
  20. //add hub
  21. @property (weak, nonatomic) IBOutlet UIView *addHubContainerView;
  22. @property (weak, nonatomic) IBOutlet UIImageView *imgvConnectHub;
  23. @property (weak, nonatomic) IBOutlet CustomLabel *lblConnectHub;
  24. @property (weak, nonatomic) IBOutlet CustomLabel *lblSimpleMemberInfo;
  25. @property (weak, nonatomic) IBOutlet CustomLabel *lblLeaveAccount;
  26. @property (weak, nonatomic) IBOutlet NSLayoutConstraint *constraintEditModeRight;
  27. #pragma mark - Instance Methods
  28. - (void)prepareViewDidLoad;
  29. - (void)updateHomeHubStatusToMembers;
  30. - (IBAction)btnOptionTouched:(id)sender;
  31. - (IBAction)btnDeleteOnEditModeTouched:(id)sender;
  32. - (IBAction)btnCloseOnEditModeTouched:(id)sender;
  33. - (void)leaveHomegroup;
  34. @end
  35. @class CustomButton;
  36. @class CustomLabel;
  37. @class CustomImageView;
  38. @interface HomeMemberCollectionCell : UICollectionViewCell
  39. @property (weak, nonatomic) IBOutlet CustomButton *btnProfile;
  40. @property (weak, nonatomic) IBOutlet CustomLabel *lblNickname;
  41. @property (weak, nonatomic) IBOutlet CustomLabel *lblMemID;
  42. @property (weak, nonatomic) IBOutlet CustomLabel *lblStatus;
  43. @property (weak, nonatomic) IBOutlet CustomButton *btnCheck;
  44. @property (weak, nonatomic) IBOutlet CustomButton *btnDelete;
  45. @end
  46. @interface HomeMemberAddCollectionCell : UICollectionViewCell
  47. @property (weak, nonatomic) IBOutlet CustomLabelButton *btnAdd;
  48. @property (weak, nonatomic) IBOutlet CustomButton *btnAddCenter;
  49. @property (weak, nonatomic) IBOutlet CustomLabel *lblTitle;
  50. @property (weak, nonatomic) IBOutlet CustomLabel *lblMemInvite;
  51. @end
  52. @interface HomeMemberCollectionFooterView : UICollectionReusableView
  53. @property (weak, nonatomic) IBOutlet CustomLabelButton *btnAdd;
  54. @property (weak, nonatomic) IBOutlet CustomLabel *lblSingleMemInvite;
  55. @end