I am following Apples "Creating and Combining View" SwiftUI Tutorial and on Section 4 Step 5 I am asked to add a Gray Stroke, which I can do but doesn't show the colour or give me a line width.
.clipShape(Circle())
.overlay(
Circle().stroke(StrokeStyle))
Am I doing something wrong or is this some kind of bug?
As Apples example shows;
.clipShape(Circle())
.overlay(
Circle().stroke(Color.gray, lineWidth: 4))
I can type it in but don't understand why it is not pulling the colour from the Inspector. I can even amend the colour from Gray to White but again I cannot see this referenced in the code
Also is it possible to add/set a lineWidth from the Inspector? The next step with adding the shadow made perfect sense but this step has really stumped me.