ios - do you want to add a stub? SwiftWebViewProgress 0.3 in Xcode 8.3.3 -


i have build error swiftwebviewprogress 0.3 in xcode 8.3.3

protocol requires function 'webviewprogress(_:updateprogress:)' type '(webviewprogress, float) -> ()'; want add stub?

when click fix-it, xcode write code below, don't know hot next

class browserviewcontroller: uiviewcontroller,  uitextfielddelegate, uiwebviewdelegate, actionviewcontrollerdelegate, webviewprogressdelegate {     func webviewprogress(_ webviewprogress: webviewprogress, updateprogress progress: float) {         <#code#>     } 

i have found solution this.

class browserviewcontroller: uiviewcontroller,  uitextfielddelegate, uiwebviewdelegate, actionviewcontrollerdelegate, webviewprogressdelegate {     func webviewprogress(_ webviewprogress: webviewprogress, updateprogress progress: float) {         progressview.setprogress(progress, animated: true)     } 

Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -

What is happening when Matlab is starting a "parallel pool"? -