Latest 0.5.1
Homepage https://github.com/LY-Coder/LYPlayer
License MIT
Platforms ios 8.0, requires ARC
Dependencies SnapKit
Authors

介绍

基于swift3.0,支持高度自定义UI样式,有问题欢迎Issues,或者添加QQ群565099748。

特点

  • 手势控制音量、亮度、播放进度
  • 横屏状态锁屏
  • 横竖屏旋转
  • 自动播放
  • 功能(代码)和视图(代码)分离

分离功能和视图的优劣

  1. 逻辑清晰,代码可读性提高
  2. 如果页面无法满足需求,完全自定义UI

效果图



CocoaPods安装

Podfile

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!

target 'MyApp' do
  # your other pod
  # ...
  pod 'LYPlayer', '~> 0.5.1'
end

运行下面的命令

$ pod install

License

LYPlayer is released under the MIT license. See LICENSE for details.

Latest podspec

{
    "name": "LYPlayer",
    "version": "0.5.1",
    "license": "MIT",
    "summary": "u9ad8u5ea6u81eau5b9au4e49u7684u89c6u9891u64adu653eu5668.",
    "homepage": "https://github.com/LY-Coder/LYPlayer",
    "authors": {
        "LY-Coder": "[email protected]"
    },
    "social_media_url": "https://github.com/LY-Coder/LYPlayer",
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/LY-Coder/LYPlayer.git",
        "tag": "0.5.1"
    },
    "source_files": "LYPlayerExample/LYPlayer/*.swift",
    "resources": "LYPlayerExample/LYPlayer/*.xcassets",
    "dependencies": {
        "SnapKit": []
    },
    "requires_arc": true,
    "pushed_with_swift_version": "3.0.2"
}

Pin It on Pinterest

Share This