Skip to content

Commit 58af418

Browse files
committed
Updated LRU Cache to Swift 4.2
1 parent af10fe9 commit 58af418

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)