Xcode – In SwiftUI how can I clip a part of a view with another view?
I am trying to overlap two circles in SwiftUI and have a margin between them. I am presently using this method: ZStack { Circle() .frame(width: 60, height: 60) .foregroundColor(Color.blue) .shadow(color: .black.opacity(0.5), radius: 4, x: 2, y: 2) ZStack { Circle()…