Latest 1.8
Homepage https://github.com/flexih/CorePlayer.Swift
License MIT
Platforms ios 8.0, osx 10.9, requires ARC
Authors

CorePlayer.Swift

pod
platform
License
weibo

A iOS and OSX media player framework based on AVPlayer. Make your player UI and logic quickly and easily.

Requirements

  • iOS 7.0+
  • OSX 10.9+
  • Xcode 7.0+

How To Get Started

  • pod ‘CorePlayer’
  • compile source files

Architecture

CPModuleManager
CPModule
  • Feature module, non-view
  • Conforms CPModuleDelegate
CPModuleView
  • View module
  • Conforms CPModuleViewDelegate

Usage

corePlayer = CorePlayer()
corePlayer.moduleManager().initModules([ModuleView.self])
corePlayer.view().frame = self.view.bounds
view.addSubview(corePlayer.view())

corePlayer.playURL(URL)

Snapshot

License

CorePlayer.Swift is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "CorePlayer",
    "version": "1.8",
    "license": "MIT",
    "summary": "A elegant iOS and OSX media player framework based on AVPlayer.",
    "homepage": "https://github.com/flexih/CorePlayer.Swift",
    "authors": {
        "flexih": "[email protected]"
    },
    "source": {
        "git": "https://github.com/flexih/CorePlayer.Swift.git",
        "tag": "1.8"
    },
    "platforms": {
        "ios": "8.0",
        "osx": "10.9"
    },
    "source_files": "CorePlayer/*.swift",
    "requires_arc": true
}

Pin It on Pinterest

Share This