You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 andtransformEnvironment
callback seems to be returning incrementednestingLevel
value but thenestingLevel
@Environment
that is used inside aGroupBoxStyle
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.
The text was updated successfully, but these errors were encountered: