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 -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -