I know I can set the spacing between views in an HStack like this:
HStack(spacing: 10) { .. }
If I had lets say 8 views in the HStack, is there a way to set the spacing to 1
only between two consecutive views of the 8 views in the stack overriding the initial HStack spacing set to 10
in this case?
I'd like all views in the stack to be 10 apart, but, two of the views I want to be 1 apart from each other.
I know I could put another HStack containing the two views and setting the spacing the sub stack to 1. I'm wondering if there's another way that might be better.