ViewController.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. //
  2. // ViewController.h
  3. // chinaTV
  4. //
  5. // Created by 刘伟伟 on 2023/7/5.
  6. //
  7. #import <UIKit/UIKit.h>
  8. @interface ViewController : UIViewController
  9. @end
  10. @interface homecell1 : UITableViewCell
  11. @property(nonatomic,strong)NSArray* banner;
  12. @property(nonatomic,assign)int imageCount;
  13. + (instancetype)cellWithTableView:(UITableView *)tableView;
  14. @property (nonatomic, strong) void(^tapBlock)(int index);
  15. @end
  16. @interface homecell2 : UITableViewCell
  17. @property(nonatomic,strong)NSArray* hotmovies;
  18. + (instancetype)cellWithTableView:(UITableView *)tableView;
  19. @property (nonatomic, strong) void(^tapBlock)(int index);
  20. @property (nonatomic, strong) void(^addCollectBlock)(void);
  21. @end
  22. @interface homecell3 : UITableViewCell
  23. @property(nonatomic,strong)NSArray* todayCommond;
  24. //@property(nonatomic,strong)UIView *cview;
  25. + (instancetype)cellWithTableView:(UITableView *)tableView;
  26. @property (nonatomic, strong) void(^tapBlock)(int index);
  27. @property (nonatomic, strong) void(^addCollectBlock)(void);
  28. @end
  29. @interface headerView : UIView
  30. @property(nonatomic,copy)NSString *title;
  31. @end
  32. @interface home2cell1 : UITableViewCell
  33. @property(nonatomic,assign)int imageCount;
  34. @property(nonatomic,strong)NSArray * topCommondData;
  35. + (instancetype)cellWithTableView:(UITableView *)tableView;
  36. @property (nonatomic, strong) void(^tapBlock)(int index);
  37. @property (nonatomic, strong) void(^addCollectBlock)(void);
  38. @end
  39. @interface home2cell2 : UITableViewCell
  40. @property(nonatomic,assign)int imageCount;
  41. @property(nonatomic,strong)NSDictionary *obj;
  42. + (instancetype)cellWithTableView:(UITableView *)tableView;
  43. @property (nonatomic, strong) void(^tapBlock)(int index);
  44. @property (nonatomic, strong) void(^addCollectBlock)(void);
  45. @end