cesmejia/SwiftUI-Clean-Architecture-example-with-unit-tests

Feedback

Opened this issue · 1 comments

It's a nice implementation. Well done.

Some feedback:

1). Your home view model should conform to a protocol.
2). You could update your remote repositories to use combine vs swift.result. Retuning 'async throws' and using async await.

@chriswunsch00 How data should be passed ? For Ex. from Home Screen I need to navigate to details screen and pass data to detail screen also from detail screen I need to pass data back to Home Screen

we have HomeFactory which creates modules and Home Coordinator which navigates where should I put code , what are
best practices ?