SwiftUI
is an exciting new way of composing (declaring) the UI
of your App.
However, it requires a total mindset change and introduces new things to learn, but it is all fun.
Here is an interesting article from Apple Developer Documentation: Managing Model Data in Your App.