CorePlayer 1.8

CorePlayer 1.8

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Dec 2015
SPMSupports SPM

Maintained by flexih.



  • By
  • flexih

CorePlayer.Swift

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

  • Just compile source files
  • pod ‘CorePlayer’

Architecture

CPModuleManager
CPModule
  • Conforms CPModuleDelegate
CPModuleView
  • 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.