nalexn / clean-architecture-swiftui

SwiftUI sample app using Clean Architecture. Examples of working with CoreData persistence, networking, dependency injection, unit testing, and more.
MIT License
5.73k stars 697 forks source link

:bug: Avoid retain instances of VM on memory #63

Closed amadeu01 closed 3 years ago

amadeu01 commented 3 years ago

The VM's were being held on memory even after the screen has be removed from the navigation.

nalexn commented 3 years ago

Nice catch, merged 👍