I have been laid off from my job for a couple of months now. (CS degree/ 4 years experience)
Please don’t just tell me to stick with iOS dev because I just cannot see myself doing it anymore. I literally only sticked with iOS dev because I thought that apps were going to be the future and that all companies needed apps, but it was the other way around, all companies need backend. Looking back a lot of my career decisions were driven by ignorance and Fomo
I have been laid off from my job for a couple of months now. (CS degree/ 4 years experience)
Please don’t just tell me to stick with iOS dev because I just cannot see myself doing it anymore. I literally only sticked with iOS dev because I thought that apps were going to be the future and that all companies needed apps, but it was the other way around, all companies need backend. Looking back a lot of my career decisions were driven by ignorance and Fomo
The internet keeps telling me that they go in the model, but some developers tell me that it goes in the view model
Model (Data / Networking / Algorithms) objects represent special knowledge and expertise. They hold an application’s data and define the logic that manipulates that data. https://developer.apple.com/forums/thread/699003
Even though the vast majority of business logic is present in the data layer, the UI layer can also contain business logic. This can be the case when combining data from multiple repositories to create the screen UI state, or when a particular type of data doesn't require a data layer.\
ViewModel is the right place to handle business logic in the UI layer. The ViewModel is also in charge of handling events and delegating them to other layers of the hierarchy when business logic needs to be applied to modify application data. https://developer.android.com/topic/libraries/architecture/viewmodel
The internet keeps telling me that they go in the model, but some developers tell me that it goes in the view model
Model (Data / Networking / Algorithms) objects represent special knowledge and expertise. They hold an application’s data and define the logic that manipulates that data. https://developer.apple.com/forums/thread/699003
Even though the vast majority of business logic is present in the data layer, the UI layer can also contain business logic. This can be the case when combining data from multiple repositories to create the screen UI state, or when a particular type of data doesn't require a data layer.\
ViewModel is the right place to handle business logic in the UI layer. The ViewModel is also in charge of handling events and delegating them to other layers of the hierarchy when business logic needs to be applied to modify application data. https://developer.android.com/topic/libraries/architecture/viewmodel
The internet keeps telling me that they go in the model, but some developers tell me that it goes in the view model
Model (Data / Networking / Algorithms) objects represent special knowledge and expertise. They hold an application’s data and define the logic that manipulates that data. https://developer.apple.com/forums/thread/699003
Even though the vast majority of business logic is present in the data layer, the UI layer can also contain business logic. This can be the case when combining data from multiple repositories to create the screen UI state, or when a particular type of data doesn't require a data layer.\
ViewModel is the right place to handle business logic in the UI layer. The ViewModel is also in charge of handling events and delegating them to other layers of the hierarchy when business logic needs to be applied to modify application data. https://developer.android.com/topic/libraries/architecture/viewmodel