MV Design Pattern in iOS - Build SwiftUI Apps Apple's Way
- Descrição
- Currículo
- FAQ
- Revisões
MVVM is the default pattern when building SwiftUI applications. I have been personally using the MVVM pattern since the inception of SwiftUI in 2019.
After building hundreds of demos and prototypes, I started to notice issues with using MVVM patterns for SwiftUI applications. These issues resulted in adding needless complexity and constantly fighting the SwiftUI framework.
In this course, I will explain a different pattern for building SwiftUI apps. This pattern is used by Apple to build their SwiftUI applications. The pattern is called the MV pattern, where M stands for Model and V is for View.
Let’s check out the contents of the course:
Understanding MV Pattern
In this section you will learn the thinking behind the MV pattern and how it is different from the MVVM pattern. We will compare SwiftUI with WPF and conclude that in SwiftUI, the View is also the View Model.
Validation
In this section, you will learn how to perform validation using MV pattern. These validation techniques are inspired from the React framework. You will learn how to perform simple validation, inline validation and even validation summary.
Coffee Order – [Project Time]
In this section, you will be building a complete Coffee Ordering application integrated with a JSON API. You will learn how to create an aggregate root model and webservice layer, which allows the app to consume and present data. You will also learn how to write end-to-end tests for your application.
Budget App – [Project Time]
In this section, you will learn how to build a SwiftUI app using MV pattern, which uses Core Data to persist information on the device. You will learn to use property wrappers including @FetchRequest and @Environment, which makes working with Core Data a breeze.
Who is this course for?
-
Developers who wants to learn Apple’s way of building SwiftUI applications
-
Developers who wants to stop fighting the SwiftUI framework and start building iOS apps
-
Developers who wants to start using all the power and flexibility provided by the SwiftUI framework
-
Developers who wants to write less code to achieve more
This course will serve as an eye opener to many developers and will provide a lot of information on a different and easier way for building SwiftUI applications.
After this course, you will be ready to start building your apps using the MV pattern.
Let’s get started.
-
4Understanding MVVM PatternVídeo Aula
-
5MVVM in WPF vs SwiftUIVídeo Aula
-
6Limitations of MVVM in SwiftUIVídeo Aula
-
7ResourcesTexto
-
8Consuming JSON and Displaying Products on Screen Using MVVMVídeo Aula
-
9Consuming JSON and Displaying Products on Screen Using MV PatternVídeo Aula
-
10Apple Sample Apps and DocumentationTexto
-
15What we will be building?Vídeo Aula
-
16Understanding the App ArchitectureVídeo Aula
-
17Tour of the ServerVídeo Aula
-
18Resource: TEST Server EndpointsTexto
-
19Resource: PROD Server EndpointsTexto
-
20Implementing Webservice and Order ModelVídeo Aula
-
21Implementing CoffeeModel Aggregate RootVídeo Aula
-
22Displaying All Coffee OrdersVídeo Aula
-
23Configuring App Environment for TestingVídeo Aula
-
24Writing End-to-End Testing for No Orders FoundVídeo Aula
-
25Implementing Webservice to Place an OrderVídeo Aula
-
26Implementing Add New Order ViewVídeo Aula
-
27Validating New OrderVídeo Aula
-
28Placing an OrderVídeo Aula
-
29Writing End-to-End Test for Placing an OrderVídeo Aula
-
30Implementing Delete OrderVídeo Aula
-
31Writing End-to-End Test for Deleting an OrderVídeo Aula
-
32Implementing Update Order Webservice and CoffeeModelVídeo Aula
-
33Implementing OrderDetailViewVídeo Aula
-
34Implementing Update Order User InterfaceVídeo Aula
-
35Writing End-to-End Test for Updating an Existing OrderVídeo Aula
-
36What we will be building?Vídeo Aula
-
37Creating Core Data ModelsVídeo Aula
-
38Setting Up the Core Data ManagerVídeo Aula
-
39Adding a New Budget CategoryVídeo Aula
-
40Displaying Budget CategoriesVídeo Aula
-
41Implementing BudgetListViewVídeo Aula
-
42Deleting a Budget CategoryVídeo Aula
-
43Preview, Dismiss and RefactoringVídeo Aula
