MiniPlayer

Simple little audio player component.

miniPlayerx

How to use:

Just put UIView in your xib or storyboard and change class name on "MiniPlayer"

Set soundTrack property for using

Use @IBInspectable properties to customise (see example directory)

For rule programmatically use :

func play()
func pause()
func stop()

Follow MiniPlayerDelegate:

func didPlay(player: MiniPlayer)
func didStop(player: MiniPlayer)
func didPause(player: MiniPlayer)

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Swift 5.0; >=iOS10.3

Installation

MiniPlayer is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'MiniPlayer'

Author

Vitaly Seroshatnov, [email protected]

GitHub