Skip to content

Commit 3d8ad39

Browse files
authored
Merge pull request kodecocodes#789 from inickt/migration4.2/LRU-Cache
[Swift 4.2] Updated LRU Cache
2 parents 0d1ae9f + 58af418 commit 3d8ad39

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

LRU Cache/LRUCache.playground/Contents.swift

-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
// last checked with Xcode 9.0b4
2-
#if swift(>=4.0)
3-
print("Hello, Swift 4!")
4-
#endif
5-
61
let cache = LRUCache<String>(2)
72
cache.set("a", val: 1)
83
cache.set("b", val: 2)

LRU Cache/LRUCache.playground/playground.xcworkspace/contents.xcworkspacedata

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>

0 commit comments

Comments
 (0)