Xcoding with Alfian

Software Development Videos & Tutorials

ByteCast #5 - Generic Cache + Expiration Timestamp | NSCache | Swift

Alt text

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.