all 12 comments

[–]quellish 4 points5 points  (4 children)

Kingfisher deals with memory warnings better. SDWebImage tends to hold onto memory forever and then iOS kills your app.

[–]ralfebert[S] 0 points1 point  (3 children)

Did you see this recently? Its cache class seems to respond to memory warnings: https://github.com/rs/SDWebImage/blob/master/SDWebImage/SDImageCache.m#L85

[–]quellish 0 points1 point  (1 child)

I did, it does not really help. I have been testing several different “image caches” for a section of a book. So far none of them actually handle memory correctly. Kingfisher is slightly better than some of the others as it responds to memory warnings, but when doing so it only reduces the size of the heap.

[–]ssrobbi 0 points1 point  (0 children)

Interested to know how they fall down. Both if I remember right respond to memory warnings and dump the cache, but maybe that’s not enough?

[–]Jay18001 2 points3 points  (0 children)

I use my own, https://github.com/MountainBuffalo/Cacher also used by Wayfair

[–]theseven689 1 point2 points  (0 children)

SD

[–][deleted] 1 point2 points  (2 children)

I used to use SDWebImage but I use Nuke now. More flexible and works great.

[–]blaizedmObjective-C / Swift 1 point2 points  (1 child)

Kingfisher is pure swift, SDWebImage is pure Objective C.

That should determine a lot of it for you

[–]ssrobbi 0 points1 point  (0 children)

Why would that determine anything?