ByteCast #5 - Generic Cache + Expiration Timestamp | NSCache | Swift
Published at Aug 31, 2024
In this 5th episode, we’re going to create a generic Swift Cache that can be used to cache value for any Swift type with optional date expiration timestamp support. We will be using NSCache, which is an in-memory based cache Apple provides to temporarily store key and value pairs that are subject to eviction when system’s memory is low. YouTube Channel.