GameHistoryView.h 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. //
  2. // GameHistoryView.h
  3. // BuguLive
  4. //
  5. // Created by yy on 16/12/5.
  6. // Copyright © 2016年 xfg. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "GameHistoryTableViewCell.h"
  10. #import "GameDataModel.h"
  11. @interface GameHistoryView : UIView<UITableViewDelegate,UITableViewDataSource>
  12. {
  13. GameHistoryModel *model;
  14. }
  15. @property (nonatomic, retain) UITableView *historyTableView;
  16. @property (nonatomic, strong) NSMutableArray *dataArray; //存储数据
  17. @property (nonatomic, strong) NetHttpsManager *httpManager;
  18. @property (nonatomic, assign) NSInteger gameID; //游戏轮数
  19. @property (nonatomic, strong) UIImageView *leftImg; //图左
  20. @property (nonatomic, strong) UIImageView *midImg; //图中
  21. @property (nonatomic, strong) UIImageView *rightImg; //图右
  22. @property (nonatomic, strong) UILabel *lineLabel;
  23. - (id)initWithFrame:(CGRect)frame withGameID:(NSString *)gameID;
  24. //请求数据
  25. - (void)loadDataWithGameID:(NSString *)gameID withPodcastID:(NSString *)podcastID withPage:(NSString *)page;
  26. //调整位置
  27. - (void)changePositionWithGameID:(NSString *)gameID;
  28. @end