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
Pulltomakesoup.swift file and location has this error:
let progressWithOffset: (Double, Double) -> Double = { offset, progress in return progress < offset ? 0 : Double((progress - offset) * 1 / (1 - offset))
The text was updated successfully, but these errors were encountered:
Resolving this with replacing it by a function
func progressWithOffset(offset:Double, progress: Double) -> Double { return progress < offset ? 0 : Double((progress - offset) * 1 / (1 - offset)) }
Sorry, something went wrong.
Thanks for the fix.
seems like hasn't applied yet. the solution above has a little problem.the second parameter should be omitted.just add '_'
func progressWithOffset(offset:Double, _ progress: Double) -> Double { return progress < offset ? 0 : Double((progress - offset) * 1 / (1 - offset)) }
Thanks, @alexliubj and @jiaowochunge . Now fix in the master. Pod also updated
No branches or pull requests
Pulltomakesoup.swift file and location has this error:
let progressWithOffset: (Double, Double) -> Double = { offset, progress in
return progress < offset ? 0 : Double((progress - offset) * 1 / (1 - offset))
The text was updated successfully, but these errors were encountered: