Skip to content

Commit 1c68788

Browse files
committed
Updated Swift Package
1 parent 11ef87c commit 1c68788

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

Package.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ import PackageDescription
44

55
let package = Package(
66
name: "Cache",
7+
platforms: [
8+
.iOS(.v15),
9+
.macOS(.v12),
10+
.tvOS(.v16),
11+
],
712
products: [
813
.library(
914
name: "Cache",

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@
3131
library that gives you a god's power. It does nothing but caching, but it does it well. It offers a good public API
3232
with out-of-box implementations and great customization possibilities. `Cache` utilizes `Codable` in Swift 4 to perform serialization.
3333

34-
Read the story here [Open Source Stories: From Cachable to Generic Storage in Cache](https://medium.com/hyperoslo/open-source-stories-from-cachable-to-generic-storage-in-cache-418d9a230d51)
35-
3634
## Key features
3735

3836
- [x] Work with Swift 5 `Codable`. Anything conforming to `Codable` will be saved and loaded easily by `Storage`.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# ``Cache``
2+
3+
**Cache** helps provide straightforard data caching for Swift applications.
4+
5+
## Overview
6+
7+
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.

Source/Shared/Library/ExpirationMode.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

2-
/// Sets the expiration mode for the ``CacheManager``. The default value is `.auto`
3-
/// which means that `Cache` will handle expiration internally. It will trigger
2+
/// Sets the expiration mode for the `CacheManager`. The default value is `.auto`
3+
/// which means that ``Cache`` will handle expiration internally. It will trigger
44
/// cache clean up tasks depending on the events its receives from the application.
55
/// If expiration mode is set to manual, it means that you manually have to invoke
66
/// the clear cache methods yourself.

0 commit comments

Comments
 (0)