Swiftui Animation

[Solved] Swiftui Animation | Swift - Code Explorer | yomemimo.com
Question : swiftui with animation duration

Answered by : thoughtful-toucan-nzwgpdnulovv

withAnimation(.easeInOut(duration: 2)) {	rotate = true
}

Source : | Last Update : Wed, 05 Jan 22

Question : uiview animation in swift

Answered by : md-murad-hossain

extension UIView { func pulsate() { let pulse = CASpringAnimation(keyPath: "transform.scale") pulse.duration = 0.80 pulse.fromValue = 0.90 pulse.toValue = 1 pulse.autoreverses = true pulse.repeatCount = 10000000000 pulse.initialVelocity = 0.98 pulse.damping = 10 layer.add(pulse, forKey: "pulse") }
}

Source : | Last Update : Mon, 19 Dec 22

Answers related to swiftui animation

Code Explorer Popular Question For Swift