My current project is similar to Facebook In size. Is there an alternative to MVVM that will produce the same outcome without so many files. Performance is very poor.
SwiftUI Architecture
How do you know the size of Facebook project ?
You can use MVC if you prefer.
Discussion here may be of interest: https://stackoverflow.com/questions/667781/what-is-the-difference-between-mvc-and-mvvm
Theoretically speaking. Thank you!
without so many files. Performance is very poor.
It would be helpful for you to quantify what your performance issues are. Number of source code files in itself is unlikely to be the source of a performance problem. Have you done any investigation into the performance of your app to understand what's happening so far? There's a SwiftUI Instrument that would be a good starting point for you to look at, using the Instruments app.
—Ed Ford, DTS Engineer