JXFriendCell.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //
  2. // JXFriendCell.h
  3. //
  4. // Created by flyeagleTang on 14-4-3.
  5. // Copyright (c) 2014年 Reese. All rights reserved.
  6. //
  7. #import <UIKit/UIKit.h>
  8. @class JXFriendObject;
  9. @class JXFriendCell;
  10. @protocol JXFriendCellDelegate <NSObject>
  11. - (void) friendCell:(JXFriendCell *)friendCell headImageAction:(NSString *)userId;
  12. @end
  13. @interface JXFriendCell : UITableViewCell{
  14. UIImageView* bageImage;
  15. UILabel* bageNumber;
  16. UIButton* _btn2;
  17. UIButton* _btn1;
  18. UILabel* _lbSubtitle;
  19. UILabel* _timeLab;
  20. }
  21. + (instancetype)cellWithTableView:(UITableView *)tableView;
  22. @property (nonatomic,strong) NSString* title;
  23. @property (nonatomic,strong) NSString* subtitle;
  24. @property (nonatomic,strong) NSString* rightTitle;
  25. @property (nonatomic,strong) NSString* bottomTitle;
  26. @property (nonatomic,strong) NSString* headImage;
  27. @property (nonatomic,strong) NSString* bage;
  28. @property (nonatomic,strong) JXFriendObject* user;
  29. @property (nonatomic,strong) id target;
  30. @property (nonatomic, weak) id<JXFriendCellDelegate>delegate;
  31. @property (nonatomic, strong) UIView* lineView;
  32. -(void)update;
  33. @end