Skip to content

Commit

Permalink
Updated LRU Cache to Swift 4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
inickt committed Oct 13, 2018
1 parent af10fe9 commit 58af418
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
5 changes: 0 additions & 5 deletions LRU Cache/LRUCache.playground/Contents.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// last checked with Xcode 9.0b4
#if swift(>=4.0)
print("Hello, Swift 4!")
#endif

let cache = LRUCache<String>(2)
cache.set("a", val: 1)
cache.set("b", val: 2)
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>

0 comments on commit 58af418

Please sign in to comment.