Your First iOS & SwiftUI App: An App from Scratch, Episode 6: SwiftUI View Modifiers | Kodeco

Learn how you can use SwiftUI View Modifiers like shadow, corner radius, or border to modify the style of your views.


This is a companion discussion topic for the original entry at https://www.kodeco.com/37086140-your-first-ios-swiftui-app-an-app-from-scratch/lessons/6

Hello Catie,
I have been away from learning Swift and or SwiftUI for a while so I decided to start over with this tutorial. It now appears that it doesn’t matter if you insert a View Modifier that returns a “some View” before or after a modifier that returns a “text View”. You used to get an error message and now you don’t.
Am I correct about this assumption? I can see that it’s critical where you place a modifier like “Opacity”.
Thanks in advance for your reply.
Gary