View Model Concepts #220
KevinSchildhorn
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
One thing I wanted to bring up that has come up, is that in iOS we sometimes want to have a ViewModel for a View. For example if we have a re-usable view for logging into a service, or data entry, it makes sense to have a ViewModel attached to that view so it can be re-used as well. However, So one thing I was wondering is how to handle this topic, and best practices.
I'm sure there are more approaches, but I'm interested if anyone has opinions on this. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
There are multiple PRs for ViewModel refactors, I figured it made sense to start a discussion about the differences and preferences.
PRs:
Basically looking for which one is preferred, what are the pros/cons with each, other notes.
Beta Was this translation helpful? Give feedback.
All reactions