File tree 3 files changed +14
-2
lines changed
RootishArrayStack.playground
3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 1
1
//: Playground - noun: a place where people can play
2
2
3
+ // last checked with Xcode 9.0b4
4
+ #if swift(>=4.0)
5
+ print ( " Hello, Swift 4! " )
6
+ #endif
7
+
3
8
import Darwin
4
9
5
10
public struct RootishArrayStack < T> {
Original file line number Diff line number Diff line change @@ -205,4 +205,11 @@ class RootishArrayStackTests: XCTestCase {
205
205
XCTAssertEqual ( list. first, 0 )
206
206
XCTAssertTrue ( list. equal ( toArray: array) )
207
207
}
208
+
209
+ func testSwift4( ) {
210
+ // last checked with Xcode 9.0b4
211
+ #if swift(>=4.0)
212
+ print ( " Hello, Swift 4! " )
213
+ #endif
214
+ }
208
215
}
Original file line number Diff line number Diff line change 226
226
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
227
227
PRODUCT_BUNDLE_IDENTIFIER = swift.algorithm.club.Tests;
228
228
PRODUCT_NAME = "$(TARGET_NAME)";
229
- SWIFT_VERSION = 3 .0;
229
+ SWIFT_VERSION = 4 .0;
230
230
};
231
231
name = Debug;
232
232
};
238
238
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
239
239
PRODUCT_BUNDLE_IDENTIFIER = swift.algorithm.club.Tests;
240
240
PRODUCT_NAME = "$(TARGET_NAME)";
241
- SWIFT_VERSION = 3 .0;
241
+ SWIFT_VERSION = 4 .0;
242
242
};
243
243
name = Release;
244
244
};
You can’t perform that action at this time.
0 commit comments