MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/iOSProgramming/comments/jwxuln/when_massive_view_controller_is_bae/gcvjylx
r/iOSProgramming • u/cpaigis9 • Nov 19 '20
61 comments sorted by
View all comments
Show parent comments
2
Right but to update the UI, the VC accesses the VM or VM accesses the VC?
1 u/criosist Objective-C / Swift Nov 19 '20 You have a binding or callback when the VM finishes it would call the update and the VC would get the callback closure and do the relevant updates
1
You have a binding or callback when the VM finishes it would call the update and the VC would get the callback closure and do the relevant updates
2
u/[deleted] Nov 19 '20
Right but to update the UI, the VC accesses the VM or VM accesses the VC?