You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
*A simple, lightweight caching library for Swift.*
4
4
5
+
Requires **Swift 6.0** or later.
6
+
5
7
## What is Cache?
6
8
7
9
Cache is a Swift library for caching arbitrary data types in memory. It provides a simple and intuitive API for storing, retrieving, and removing objects from the cache.
Copy file name to clipboardExpand all lines: Sources/Cache/Cache/LRUCache.swift
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,8 @@ Error Handling: The set(value:forKey:) function does not throw any error. Instea
11
11
12
12
The `LRUCache` class is a subclass of the `Cache` class. You can use its `capacity` property to specify the maximum number of key-value pairs that the cache can hold.
0 commit comments