HomeMemberViewController.h 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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. @class CustomCheckBox;
  39. @interface HomeMemberCollectionCell : UICollectionViewCell
  40. @property (weak, nonatomic) IBOutlet CustomButton *btnProfile;
  41. @property (weak, nonatomic) IBOutlet CustomLabel *lblNickname;
  42. @property (weak, nonatomic) IBOutlet CustomLabel *lblMemID;
  43. @property (weak, nonatomic) IBOutlet CustomLabel *lblStatus;
  44. @property (weak, nonatomic) IBOutlet CustomCheckBox *chkSelect;
  45. @property (weak, nonatomic) IBOutlet CustomButton *btnDelete;
  46. @end
  47. @interface HomeMemberAddCollectionCell : UICollectionViewCell
  48. @property (weak, nonatomic) IBOutlet CustomLabelButton *btnAdd;
  49. @property (weak, nonatomic) IBOutlet CustomButton *btnAddCenter;
  50. @property (weak, nonatomic) IBOutlet CustomLabel *lblTitle;
  51. @property (weak, nonatomic) IBOutlet CustomLabel *lblMemInvite;
  52. @end
  53. //@interface HomeMemberCollectionFooterView : UICollectionReusableView
  54. //
  55. //@property (weak, nonatomic) IBOutlet CustomLabelButton *btnAdd;
  56. //@property (weak, nonatomic) IBOutlet CustomLabel *lblSingleMemInvite;
  57. //
  58. //@end