Member-only story

SwiftUI Tutorial – How to create Spinners in Xcode 12 Part 1

AnthonyDesignCode
3 min readMar 15, 2021

--

Welcome to a new SwiftUI tutorial. We are going to be creating some simple spinners over the next few weeks we are going to be creating three spinner animations using SwiftUI 2.0 in Xcode 12.

Let’s get started 👍

Today we are going to create our first simple spinner animation. Let’s open up Xcode 12.

Then call the project Spinner_SwiftUI or whatever you like. We will be using the same project we create here for the other spinner animations. Now we are all set up, we are now going to create some States for the project.

We are going to create a VStack with alignment on the center and spacing of 40. We are going to create a Title in here called Spinners in SwiftUI.

Awesome now we have the text done we are going start by adding a VStack, inside we are going to create a HStack and a Circle shape.

--

--

AnthonyDesignCode
AnthonyDesignCode

Written by AnthonyDesignCode

Hey 👋 I’m Anthony! I hope you are well?! Thank you for looking at my blog. Here you will learn how to make apps in SwiftUI for iOS 16! Thanks for reading.

No responses yet