Review My Stuff: May 12, 2020 | raywenderlich.com


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/10527046-review-my-stuff/lessons/1

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!