teodorpatras / Jukebox

Player for streaming local and remote audio files. Written in Swift.
MIT License
552 stars 122 forks source link

Type 'ViewController' does not conform to protocol 'JukeboxDelegate' #83

Open ghost opened 7 years ago

ghost commented 7 years ago

I am not able to make it work.

xCode verison: 8.3.2 swift version: 3.1

`import UIKit import Jukebox import MediaPlayer

class MediaViewController: UIViewController, GADBannerViewDelegate, JukeboxDelegate {``

kseilkhanov commented 7 years ago

You should use all this functions func jukeboxStateDidChange( state : Jukebox) func jukeboxPlaybackProgressDidChange( jukebox : Jukebox) func jukeboxDidLoadItem( jukebox : Jukebox, item : JukeboxItem) func jukeboxDidUpdateMetadata( jukebox : Jukebox, forItem: JukeboxItem)

ghost commented 7 years ago

@seilkhanovkkk thanks.