What is Cache?

Cache doesn’t claim to be unique in this area, but it’s not another monster library that gives you a god’s power. It does nothing but caching, but it does it well. It offers a good public API with out-of-box implementations and great customization possibilities. Cache utilizes Codable in Swift 4 to perform serialization.

Key features

  •  Work with Swift 4 Codable. Anything conforming to Codable will be saved and loaded easily by Storage.
  •  Hybrid with memory and disk storage.
  •  Many options via DiskConfig and MemoryConfig.
  •  Support expiry and clean up of expired objects.
  •  Thread safe. Operations can be accessed from any queue.
  •  Sync by default. Also support Async APIs.
  •  Extensive unit test coverage and great documentation.
  •  iOS, tvOS and macOS support.

Overview

  • Pricing: Free
  • Resource Link: https://github.com/hyperoslo/Cache
  • Resource Maker: Hyper
  • Mobile Platform Destination: iOS Apps
  • Mobile Platform Support: Native iOS
  • Programming Languages: Swift
  • CocoaPods: Cache
  • Carthage: hyperoslo/Cache