Delete Image from BNRImageStore?


#1

I am up to chapter 13 and up till now I only see the image being removed from the BNRImageStore at the top of didFinishPickingMediaWithInfo if there was an old image. Shouldn’t we (I already did) add logic to remove the image from the imageStore in methods cancel, commitEditingStyle, and clearImageButtonPressed (silver challenge) if an image already exists? Didn’t we say that images take up a lot of memory :slight_smile:

BTW, this is the best programming book ever, for any language… I’ve read a few in my 20+ years of programming.


#2

OK I see it’s being taken care of in chapter 14 when we switch to saving images to files…