Create a custom data model for Todo items in SwiftUI | Todo List #2

Опубликовано: 28 Сентябрь 2024
на канале: Swiftful Thinking
36,428
825

Now it's time to create the Model layer! In MVVM (Model-View-ViewModel) architecture, the Model layer manages logic for specific pieces of data in your app. In our Todo List, we will create a Model that will hold all information relating to a single item on the list. The model layer is completely separate from the View layers, which we made in the last video.

Next video:    • Add a ViewModel with @EnvironmentObje...  
Last video:    • Create a List of Todo items in SwiftU...  

🤙 WELCOME BACK 🤙

WEBSITE: https://www.swiftful-thinking.com

DISCORD:   / discord  

GITHUB: https://github.com/SwiftfulThinking/

SAY THANKS: https://www.buymeacoffee.com/nicksarno