Skip to content
New issue

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

On Xcode 9.3 error message Contextual type for closure argument list expects 1 argument, which cannot be implicitly ignored #8

Open
aslamdodeen opened this issue Apr 3, 2018 · 1 comment

Comments

@aslamdodeen
Copy link

aslamdodeen commented Apr 3, 2018

I updated my Xcode to Xcode 9.3 and this error came out
BasicAnimation.swift file, line 48
Animate.swift file , line 494
and other problem => Missing argument for parameter #1 in call, swift file, line 48

/// The animation block that gets performed. public var animationBlock: AnimationBlock { switch self { case .cornerRadius(view: let view, duration: let duration, delay: _, radius: let radius, timing: let timing): return { let animation = CABasicAnimation(keyPath: "cornerRadius") animation.timingFunction = timing.coreAnimationCurve animation.fromValue = view.layer.cornerRadius animation.toValue = radius animation.duration = duration view.layer.add(animation, forKey: "corner") view.layer.cornerRadius = radius } } }

@rchatham
Copy link
Owner

Sorry for the delay in response. I will take a look at this as soon as possible. In the meantime I would consider forking the repository if you have a minute because it will take me a little while to address the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants