Observe Photo Library Changes to Update UI | raywenderlich.com

This is a companion discussion topic for the original entry at https://www.raywenderlich.com/7910383-ios-photos-framework/lessons/9

Hi Lyndsey
I’m wondering about the resetCache method at viewWillAppear.
In this method, you ask the imageManager to stop caching all items, and you reset 2 helper properties.
However, it seems to me that these 2 properties will be reset anyway when the viewController gets loaded.
And deinit looks like a better timing to stop caching all items.
What do you think?

@lyndsey Can you please help with this when you get a chance? Thank you - much appreciated! :]