Ios swift – Is it possible use animation properties (current value, speed) of withAnimation block to change other values?
The simple code below moves the text by updating the @State var offset within a withAnimation block. struct ContentView: View { @State var offset: CGFloat = 0 var body: some View { NavigationView { VStack { Text("Some moving text") .offset(y:…