Skip to content
This repository has been archived by the owner on May 3, 2021. It is now read-only.

Troubleshooting

Alexander Grebenyuk edited this page Mar 1, 2015 · 6 revisions

Question:

I implemented custom image fetcher (DFImageFetching) but DFImageManager doesn't reuse existing operations and/or can't lookup image in memory cache.

Answer:

  1. Verify that the implementation of isRequestFetchEquivalent:toRequest method from DFImageFetching protocol is valid (required for reusing fetching operations)
  2. Verify that the implementation of isRequestCacheEquivalent:toRequest method from DFImageFetching protocol is valid (required for memory cache lookup)
  3. Verify that your resource implements -hash method.

Clone this wiki locally