iOS system design
Image loader and cache library
If you had to build an image loading library like SDWebImage or Kingfisher yourself, how would you structure the components and the cache layers?
Image loader and cache library
If you had to build an image loading library like SDWebImage or Kingfisher yourself, how would you structure the components and the cache layers?
ConcurrencyShort answerAdvanced
Design the API of an async network client that several screens use at the same time. It m…
#deduplication #cancellation
CS fundamentals and algorithmsShort answerAdvanced
You need to write an in-memory image cache with LRU eviction yourself. Which data structu…
#image-cache #lru
PersistenceShort answerBasics
NSCache exists, so why do image libraries write their own LRU cache?
#image-cache #lru
NetworkingShort answerAdvanced
In a coding interview you're asked to build, in 30 minutes, an ImageManager that fetches …
#image-cache #cancellation