|
I've just begun building what will be a pretty extensive application and want to use MVVM to organize things as it scales up. I'm having a lot of trouble understanding how to correctly bridge between a I have the main "user account"
In my
In my
So I push my I just want to follow the correct approach here, get the user's inputs on their form into the Thanks in advance and sorry for the long post. |
|
Okay. Will try and break it down (ps shorten number fields) Model (which you have)
ViewModel (This is where the logic for the view is eg network call etc)
Then View
|
|
Hey, you pretty much correctly understand the division between layers, except that you don't seem to use your
On UI you change Another thing is, that languageString can be of |
|
SPONSORED Superwall lets you build & test paywalls without shipping updates. Run experiments, offer sales, segment users, update locked features and more at the click of button. Best part? It's FREE for up to 250 conversions / mo and the Superwall team builds out 100% custom paywalls – free of charge.
Sponsor Hacking with Swift and reach the world's largest Swift community!
This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.
All interactions here are governed by our code of conduct.
Link copied to your pasteboard.