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
Post a Comment