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