HomeMemberViewController.h 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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<MoreButtonDelegate>
  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 UIView *editModeView;
  18. @property (weak, nonatomic) IBOutlet UICollectionView *collectionView;
  19. //add hub
  20. @property (weak, nonatomic) IBOutlet UIView *addHubContainerView;
  21. @property (weak, nonatomic) IBOutlet UIImageView *imgvConnectHub;
  22. @property (weak, nonatomic) IBOutlet CustomLabel *lblConnectHub;
  23. @property (weak, nonatomic) IBOutlet CustomLabel *lblSimpleMemberInfo;
  24. @property (weak, nonatomic) IBOutlet CustomLabel *lblLeaveAccount;
  25. @property (weak, nonatomic) IBOutlet NSLayoutConstraint *constraintEditModeRight;
  26. #pragma mark - Instance Methods
  27. - (void)prepareViewDidLoad;
  28. - (void)updateHomeHubStatusToMembers;
  29. - (IBAction)btnOptionTouched:(id)sender;
  30. - (IBAction)btnDeleteOnEditModeTouched:(id)sender;
  31. - (IBAction)btnCloseOnEditModeTouched:(id)sender;
  32. - (void)leaveHomegroup;
  33. @end
  34. @class CustomButton;
  35. @class CustomLabel;
  36. @class CustomImageView;
  37. @class CustomCheckBox;
  38. @interface HomeMemberCollectionCell : UICollectionViewCell
  39. @property (weak, nonatomic) IBOutlet CustomButton *btnProfile;
  40. @property (weak, nonatomic) IBOutlet CustomLabel *lblNickname;
  41. @property (weak, nonatomic) IBOutlet CustomLabel *lblStatus;
  42. @property (weak, nonatomic) IBOutlet CustomCheckBox *chkSelect;
  43. @property (weak, nonatomic) IBOutlet UIView *vline;
  44. @end
  45. @interface HomeMemberAddCollectionCell : UICollectionViewCell
  46. @property (weak, nonatomic) IBOutlet CustomLabelButton *btnAdd;
  47. @property (weak, nonatomic) IBOutlet CustomLabel *lblTitle;
  48. @property (weak, nonatomic) IBOutlet UIView *vline;
  49. @property (weak, nonatomic) IBOutlet CustomLabel *lblMemInvite;
  50. @end
  51. @interface HomeMemberCollectionFooterView : UICollectionReusableView
  52. @property (weak, nonatomic) IBOutlet CustomLabelButton *btnAdd;
  53. @property (weak, nonatomic) IBOutlet CustomLabel *lblSingleMemInvite;
  54. @end