MiniPlayer 1.0.0

MiniPlayer 1.0.0

Vitaly Seroshtanov 维护。



  • Vitaly Seroshtanov

MiniPlayer

CI Status Version License Platform

使用方法

只需将 UIView 添加到您的 xib 或 storyboard 中,并将 “MiniPlayer” 上的类名进行更改。

设置 soundtrack 属性以便使用

使用 @IBInspectable 属性来自定义(参见示例目录)

如果要程序化使用规则

<p>func play()<p/>
<p>func pause()<p/>
<p>func stop()<p/>

关注MiniPlayerDelegate

func didPlay(player: MiniPlayer)

func didStop(player: MiniPlayer)

func didPause(player: MiniPlayer)

要运行示例项目,请先克隆仓库,然后从示例目录运行<code>pod install</code>

要求

Swift 5.0; >=iOS10.3

安装

MiniPlayer可以通过CocoaPods获得。要安装它,只需在Podfile中添加以下行:

pod 'MiniPlayer'

作者

维塔利·塞罗斯哈特诺夫,[email protected]

许可

MiniPlayer 使用 MIT 许可证。更多信息请参阅 LICENSE 文件。