On page 103, adding the border -
.border(Color.gray, width: 1)
does not add the border to the circle created by the .cornerRadius but to the original square view.
To get the intended border, should it be:
.overlay(Circle().stroke(Color.gray, lineWidth: 1))
2 Likes
@jeden Can you please help with this when you get a chance? Thank you - much appreciated! :]
jeden
3
Hi @jnjsjmiller,
I apologize for replying you so late, somehow I missed your original post, and it took me too long to just have a look at this issue.
You’re right, there are also 2 lines of code swapped in that section. I’ll fix that.
Thanks a lot!