-
Notifications
You must be signed in to change notification settings - Fork 494
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MVVM Isuue #76
Comments
Yeah definitely, I am just being lazy here 🙈because there is no formatting involved before rendering information in a view. In this case it would be literally one to one mappings of properties 🤷♂️ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
PostsViewModel
is exposing to the view the Post mode as output:let selectedPost: Driver<Post>
My question is:
PostsViewController
knowsPost
data model which means that the view knows the model.As far as I understand MVVM architecture the UI (view) doesn't need to know the model
(Post).
What do you think? is there a place to change the
selectedPost
parameter to be:let selectedPost: Driver<PostViewModel>
?The text was updated successfully, but these errors were encountered: