We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following line of code in PullToRefreshConst.swift file is causing compile time error when Swift 4.1 is being used as per Build Settings:
self.refreshCompletion?()
Missing argument for parameter #1 in call
Insert '<#Void#>'
The text was updated successfully, but these errors were encountered:
Replace ((Void) -> Void)? with (() -> (Void))? = nil
((Void) -> Void)?
(() -> (Void))? = nil
After replacement- Line 29: fileprivate var refreshCompletion: (() -> (Void))? = nil
fileprivate var refreshCompletion: (() -> (Void))? = nil
Line 81: public init(options: PullToRefreshOption, frame: CGRect, refreshCompletion :(() -> (Void))? = nil, down:Bool=true) {
public init(options: PullToRefreshOption, frame: CGRect, refreshCompletion :(() -> (Void))? = nil, down:Bool=true) {
Sorry, something went wrong.
No branches or pull requests
The following line of code in PullToRefreshConst.swift file is causing compile time error when Swift 4.1 is being used as per Build Settings:
self.refreshCompletion?()
The text was updated successfully, but these errors were encountered: