MiniPlayer
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)
pod install
from the Example directory first.
To run the example project, clone the repo, and run 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, v.s.seroshtanov@gmail.com
License
MiniPlayer is available under the MIT license. See the LICENSE file for more info.