DEV Community

Peter Witham
Peter Witham

Posted on • Originally published at peterwitham.us on

Changing SwiftUI Modifiers Based on State

In this video, I show you have to add/change modifiers on a SwiftUI view based on a condition in your application. There are times you want to change the look of something based on view state, this is one way to do it.

The repository for the project in this video can be found here.

Top comments (0)