Open trunghvbk opened 1 month ago
@trunghvbk I'll investigate this, thanks!
If you're using Coordinator in your project, would you mind opening up a PR to contribute to documentation? I'm trying to encourage folks to contribute, it makes justifying and prioritizing this project a lot easier for me.
Hi @vmanot What is the document that you mentioned? I see the How to Use is documented already. Sorry I have not been good at documenting, but I will try to contribute to the source code with my ability.
Hi @vmanot, In this sample code, I use
UIViewControllerCoordinator
to handle routing. I found that when I use it to assign.coordinator
to theAView
,AViewModel
will never be released (Thedeinit
func is never called). It will not happen if I useAppKitOrUIKitWindowCoordinator
. But in our legacy app, we useAppKitOrUIKitWindowCoordinator
so it's hard to change. Could you help to investigate the reason why it happens? I tried but have not yet found out. Thank you!