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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -