I’m having a little trouble understanding part of the setThumbnailData method (pg 287).
You create a image context which is the size of newRect using this method:
After rounding the corners you create another CGRect (projectRect) to draw the image on to. I’m having trouble understanding why create projectRect, when we already have newRect?
Isn’t newRect is already the size and origin we want the thumbnail? When I tried removing all of projectRect and drawing on to newRect instead, the app appeared to work all the same. Is this a valid way of going about it? or am I just not understanding something?