unsplash / unsplash-photopicker-ios

📱An iOS photo picker to search and download photos from Unsplash.
MIT License
404 stars 85 forks source link

Fixes and improvements to image caching and downloading #34

Closed pocketpixels closed 2 years ago

pocketpixels commented 3 years ago

The image caching was completely non-functional previously, for multiple reasons:

It also fixed / improves the logic for dealing with the fact that a PhotoView might have been repurposed by the time an asynchronous image download completes. And moves the JPEG decoding of downloaded images onto a background thread for smoother scrolling.