Review My Stuff: May 12, 2020 |

This is a companion discussion topic for the original entry at

One thing I noticed in the video that didn’t get mentioned was the retain cycle in the HomeViewModel. As the delegate wasn’t weak, if a view controller owns the view model (which is usually the case) but that view controller is also the delegate and therefore retained by the view model, I believe it’ll result a retain cycle.

1 Like

@micpringle Thank you for sharing this - much appreciated!