JXShortDramaViewController.h 920 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //
  2. // JXShortDramaViewController.h
  3. // AICity
  4. //
  5. // Created by TogetherWatch on 2025-10-20.
  6. // Feature: 010-ui-ios - 短剧垂直滑动播放页
  7. // 对标Android: ShortDramaFragment.kt
  8. //
  9. #import <UIKit/UIKit.h>
  10. NS_ASSUME_NONNULL_BEGIN
  11. /**
  12. * 短剧垂直滑动播放页
  13. *
  14. * 功能:
  15. * - 垂直滑动播放短剧(类似抖音/快手)
  16. * - 支持点赞、收藏、评论、合集
  17. * - 自动播放/停止管理
  18. * - 支持下拉刷新、上拉加载更多
  19. *
  20. * 对标Android: ShortDramaFragment.kt
  21. * - ViewPager2垂直滑动 -> UICollectionView垂直分页
  22. * - ShortDramaSuperPlayerAdapter -> JXDramaCell
  23. * - ShortDramaViewModel -> 本地数据管理
  24. */
  25. @interface JXShortDramaViewController : UIViewController
  26. /**
  27. * 初始化方法
  28. * @param categoryId 分类ID(可选,nil表示全部)
  29. */
  30. - (instancetype)initWithCategoryId:(nullable NSString *)categoryId;
  31. @end
  32. NS_ASSUME_NONNULL_END