Skip to content

Commit

Permalink
Updated Binary Tree to Swift 4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
sticksen committed Oct 26, 2018
1 parent 35dcda0 commit b5d5c89
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
5 changes: 0 additions & 5 deletions Binary Tree/BinaryTree.playground/Contents.swift
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
//: Playground - noun: a place where people can play

// last checked with Xcode 9.0b4
#if swift(>=4.0)
print("Hello, Swift 4!")
#endif

public indirect enum BinaryTree<T> {
case node(BinaryTree<T>, T, BinaryTree<T>)
case empty
Expand Down
2 changes: 1 addition & 1 deletion Binary Tree/BinaryTree.playground/contents.xcplayground
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<playground version='5.0' target-platform='osx'>
<playground version='5.0' target-platform='osx' last-migration='1000'>
<timeline fileName='timeline.xctimeline'/>
</playground>
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 b5d5c89

Please sign in to comment.