Welcome to the Treehouse Community
Looking to learn something new?
Leo Picado9,182 Points
For anyone following in Swift
I wasn't able to use SAMCache so I went with the bulletproof SDWebImage module instead, all the code went down to, install the pod, add it to your bridging-header (which you already have, since you added SimpleAuth) and then replace all the code in dowloadPhotoWithUrl for:
SDWebImage handles the async download and caching of the images