
It also supports decoding WebP images if Google's library is available. It, of course, supports both PNGs and JPGs. PINRemoteImage supports downloading many types of files. However, it is optimized to call completions on the calling thread if an item is in its memory cache. None of its exposed methods allow for synchronous access. It ensures that images are decoded off the main thread so that animation performance isn't affected. PINRemoteImageManager is backed by GCD and safe to access from multiple threads simultaneously.

It uses the concept of download and processing tasks to ensure that even if multiple calls to download or process an image are made, it only occurs one time (unless an item is no longer in the cache). PINRemoteImageManager is an image downloading, processing and caching manager. PINRemoteImage Fast, non-deadlocking parallel image downloader and cache for iOS
