Showmax

2 个 Pod

SHMAVPlayerInterface

SHMAVPlayerInterface 为 AVPlayer 和 AVPlayerItem 提供了易于使用的接口。您可以替换 KVO、CMTime、媒体组和其他不友好的 API。

SHMAVPlayerInterface 库提供了一个响应式 API 来观察重要属性。SHMAVPlayerInterface 还为您提供了 AVPlayer 的包装,以便处理播放/暂停和字幕变化等基本操作。您仍然完全控制您的 AVPlayer。

许可证:自定义

  • Swift

SHMTableView

HMTableView 帮助您抽象化 UITableViewDataSource 和 UITableViewDelegate 中的常规工作。相反,您可以将注意力集中在 应用于 UITableView 的结构和内容上。

使用 SHMTableView,您必须

1. Create data model instances
2. Map data models to view types
3. Pass your mapping to the SHMTableView library

SHMTableView 会创建并配置将在 UITableView 中显示的所有 UITableViewCell 实例。

许可证:自定义

  • Swift