@@ -18,7 +18,8 @@ In addition,
18
18
when you use Xcode 15.3 to build Swift 4 and Swift 4.2 code,
19
19
most Swift 5 functionality is still available.
20
20
That said,
21
- the following changes are available only to code that uses Swift 5:
21
+ the following changes are available only to code
22
+ that uses the Swift 5 language mode:
22
23
23
24
- Functions that return an opaque type require the Swift 5.1 runtime.
24
25
- The ` try? ` expression doesn't introduce an extra level of optionality
@@ -28,13 +29,13 @@ the following changes are available only to code that uses Swift 5:
28
29
For example, ` UInt64(0xffff_ffff_ffff_ffff) ` evaluates to the correct value
29
30
rather than overflowing.
30
31
31
- Concurrency requires Swift 5
32
+ Concurrency requires the Swift 5 language mode
32
33
and a version of the Swift standard library
33
34
that provides the corresponding concurrency types.
34
35
On Apple platforms, set a deployment target
35
36
of at least iOS 13, macOS 10.15, tvOS 13, or watchOS 6.
36
37
37
- A target written in 6 can depend on
38
+ A target written in Swift 6 can depend on
38
39
a target that's written in Swift 5, Swift 4.2 or Swift 4,
39
40
and vice versa.
40
41
This means, if you have a large project
0 commit comments