SHomeLiveV.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // SHomeLiveV.h
  3. // BuguLive
  4. //
  5. // Created by 丁凯 on 2017/8/26.
  6. // Copyright © 2017年 xfg. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @class SHomeLiveV;
  10. @protocol LiveDeleGate <NSObject>
  11. - (void)goToLiveRoomWithModel:(UserModel *)model andView:(SHomeLiveV *)homeLiveView;
  12. @end
  13. @interface SHomeLiveV : BGBaseView<UITableViewDelegate,UITableViewDataSource>
  14. @property ( nonatomic, strong) UIView *newestOrHotView; //最新 最热的view
  15. @property ( nonatomic, strong) UILabel *newHotLabel; //newHotLabel
  16. @property ( nonatomic, strong) NSMutableArray *hotArray; //最热的数据
  17. @property ( nonatomic, strong) NSMutableArray *newestArray; //最新的数据
  18. @property ( nonatomic, strong) UITableView *liveTableView; //tableView
  19. @property ( nonatomic, copy) NSString *user_id; //用户id
  20. @property ( nonatomic, assign) int currentPage; //当前页
  21. @property ( nonatomic, assign) int has_next; //是否还有下一页
  22. @property ( nonatomic, assign) int newOrHotType; //最新或者最热 0最新 1最热
  23. @property ( nonatomic, assign) BOOL isCouldLiveData; //是否可以加载tableView
  24. @property ( nonatomic, weak) id <LiveDeleGate> LDelegate; //代理
  25. - (instancetype)initWithFrame:(CGRect)frame andUserId:(NSString *)userId;
  26. @end