GamelistCollectionViewCell.h 708 B

1234567891011121314151617181920212223242526272829303132
  1. //
  2. // GamelistCollectionViewCell.h
  3. // BuguLive
  4. //
  5. // Created by yy on 16/11/25.
  6. // Copyright © 2016年 xfg. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "GameModel.h"
  10. @protocol gameCellDelegate <NSObject>
  11. - (void)gameCellWithRow:(int)row;
  12. @end
  13. @interface GamelistCollectionViewCell : UICollectionViewCell
  14. @property (nonatomic, weak) id<gameCellDelegate>gameDelegate;
  15. @property (strong, nonatomic) IBOutlet UILabel *gamePlaying_L;//正在游戏中显示
  16. @property (weak, nonatomic) IBOutlet UIImageView *gameImg;
  17. @property (weak, nonatomic) IBOutlet UILabel *gameName;
  18. @property (nonatomic, assign)int rowCount;
  19. - (void)creatCellWithModel:(GameModel *)model withRow:(int)row;
  20. @end