Swift を使用している場合にのみこのエラーが発生します。現在、他の誰かがこの問題を抱えているかどうか疑問に思っていました
Extra argument 'usingSpringWithDamping' in call
UIView.animateWithDuration(NSTimeInterval(doctorPracticeDuration), delay: 0.0, usingSpringWithDamping: 0.3, initialSpringVelocity: textAnimationVelocity, options: .CurveEaseInOut, animations: {}, completion: {success in })
Xcode 6 ベータ 7 を使用しています
これが機能するのは興味深いことです:
UIView.animateWithDuration(NSTimeInterval(doctorPracticeDuration), delay: 0.0, options: .Repeat, animations: {}, completion: {finished in })
春のアニメーションの使用が Swift でまだサポートされていない可能性はありますか? 私はそれがまだ早い段階であることを知っています...