Manuel Meyer
Aug 9, 2022

--

MVVM traces it's roots back to Clean Architecture by Robert C Martin. Martin and others pointed out again and again that an architecture (doesnt matter if you call it pattern) must be independent from the UI. Martin describes it as "The UI needs to be an I/O device". this isnt true for your implementation, as it is the views that keeps everything together.

I wrote "Khipu", a bolilerplate code free clean architecture implementation in swift. feel free to give it a ride: https://decodemeester.medium.com/khipu-rapid-and-sustainable-software-creation-in-swift-using-engineering-and-science-principles-312a933cce57?sk=8359f48cc06571e53de156db8cbc005c

--

--

Manuel Meyer
Manuel Meyer

Written by Manuel Meyer

Freelance Software Developer and Code Strategist.

No responses yet