Cachyr is a typesafe key-value data cache for iOS, macOS, tvOS and watchOS written in Swift.
There already exists plenty of cache solutions, so why create one more? We had a few requirements where existing solutions fulfilled some of them but not all:
- Written purely in Swift 3.
- Type safety while still allowing any kind of data to be stored.
- Disk and memory caching.
- Easy way to populate cache when a lookup results in a cache miss.
- Clean, single-purpose implementation. Do caching and nothing else.

Leave a Reply
You must be logged in to post a comment.