Hello!
I've been doing a code-along for your Styling Components series and while going through Composable Styles I noticed that I can't make the relativeRoundedGroupBoxStyleNestingLevel
@Environment
value to work.
I did some debugging and it seems like the value is set properly for the environment within EnvironmentValues
extension and transformEnvironment
callback seems to be returning incremented nestingLevel
value but the nestingLevel
@Environment
that is used inside a GroupBoxStyle
does not change.
Have you noticed any issues with your Alternating Styles
approach?
I'm using newest Xcode beta 4.
I might be doing something wrong TBH, I'm just starting with SwiftUI but maybe you're aware of this issue and have some sort of solution or at least know why it's not working?
Sorry if this isn't the right place for questions.
Hope you have a great weekend.
Cheers, Mateusz.