Hi there 👋

I’m a Computer Scientist who loves to create simple solutions to hard problems and this is my blog.

Creating a Cirular Layout in SwiftUI

Hi everyone, I’m going to show you how to create this view in SwiftUI. We are going to focus on the layout of the mini circles. Before we dive in, I recommend you grab the base code for this example from this gist below. First let’s setup a GeometryReader in our base view to get the width of our view and set the dimensions of our background circle. We will need this metric later on when we are positioning our subviews....

. 4min read