Skip to content

Commit acc61b2

Browse files
committed
Count Occurrences to Swift 4
Tested Count Occurrences with Swift 4 and Xcode 9.0b4
1 parent 0026bab commit acc61b2

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

Count Occurrences/CountOccurrences.playground/Contents.swift

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
//: Playground - noun: a place where people can play
1+
// last checked with Xcode 9.0b4
2+
#if swift(>=4.0)
3+
print("Hello, Swift 4!")
4+
#endif
25

36
func countOccurrencesOfKey(_ key: Int, inArray a: [Int]) -> Int {
47
func leftBoundary() -> Int {

Count Occurrences/CountOccurrences.playground/timeline.xctimeline

-6
This file was deleted.

0 commit comments

Comments
 (0)