2
2
3
3
Learn what functionality is available in older language modes.
4
4
5
- This book describes Swift 6,
6
- the default version of Swift that's included in Xcode 16.
7
- You can use the Swift 6 compiler to build code
8
- that's written in Swift 6, Swift 5, Swift 4.2, or Swift 4.
5
+ This book describes Swift 6.1 ,
6
+ the default version of Swift that's included in Xcode 16.3.
7
+ You can use the Swift 6.1 compiler to build code
8
+ that's written in Swift 6.1 , Swift 5, Swift 4.2, or Swift 4.
9
9
10
- When you use the Swift 6 compiler
10
+ When you use the Swift 6.1 compiler
11
11
to build code that uses the Swift 5 language mode,
12
- you can use the new features from Swift 6 ---
12
+ you can use the new features from Swift 6.1 ---
13
13
they're enabled either by default or by an upcoming feature flag.
14
14
However, to enable strict concurrency checking,
15
- you need to upgrade to the Swift 6 language mode.
15
+ you need to upgrade to the Swift 6.1 language mode.
16
16
17
17
In addition,
18
18
when you use Xcode 15.3 to build Swift 4 and Swift 4.2 code,
@@ -35,7 +35,7 @@ that provides the corresponding concurrency types.
35
35
On Apple platforms, set a deployment target
36
36
of at least iOS 13, macOS 10.15, tvOS 13, watchOS 6, or visionOS 1.
37
37
38
- A target written in Swift 6 can depend on
38
+ A target written in Swift 6.1 can depend on
39
39
a target that's written in Swift 5, Swift 4.2 or Swift 4,
40
40
and vice versa.
41
41
This means, if you have a large project
0 commit comments