Member-only story
New SwiftUI: Spinner Animation using Xcode 14
Hello everyone, welcome to a new SwiftUI tutorial. I hope you are all doing well. Today I am going to show you how to create a spinner animation in SwiftUI 4 and Xcode 14.
Let’s get started with opening up Xcode 14. We are going to add some images and create a color in the assets file! I have added three images of food and a light purple color for this example the color does not really matter as long as you call it BG and the images of are different but named like this: Food1, Food2, Food3.
Dope! Now we are all set to start coding! 💻 We are going to create a new Swift file just for the data.
Now we are going to create the HomeView now the is where we are going to create the main ui.