Simple animation in swiftUI
Let’s move the line using swiftUI
Mar 22, 2023
In this I just tried to animate the line in simple way
let me break step by step
- Creating a line using VStack and Divider
2. Using onAppear to perform animation after view loaded
3. SwiftUI animation will take care we just need to update the values which we need
4. This Looping function does updating values for state varibales
Any better way? please let me know in command.
Nanri vanakkam 🙏