Post

Replies

Boosts

Views

Activity

Reply to numericText transition for normal SwiftUI View
@alpennec Had the same problem, but solved it by wrapping the trigger with an animation block. Try adding this below the Text view. .onTapGesture { withAnimation(.linear(duration: 0.3)) { self.number = Float.random(in: 0...1000) } } Also, question for you: What app / theme are you using for that awesome code snippet?
Sep ’23