Skip to content

Commit fe36d26

Browse files
authored
Merge pull request kodecocodes#508 from bobdel/swift4
Updated for Swift 4 Xcode 9b4
2 parents 058aefd + 51ee165 commit fe36d26

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Fizz Buzz/FizzBuzz.playground/Contents.swift

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// last checked with Xcode 9.0b4
2+
#if swift(>=4.0)
3+
print("Hello, Swift 4!")
4+
#endif
5+
16
func fizzBuzz(_ numberOfTurns: Int) {
27
for i in 1...numberOfTurns {
38
var result = ""

0 commit comments

Comments
 (0)