You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -570,7 +570,7 @@ You call `ProgressManager`'s `subprogress(assigningCount:)` to create a `Subprog
570
570
The callee will consume `Subprogress` and get the `ProgressManager` by calling `start(totalCount:)`. That `ProgressManager` is used for the function's own progress updates.
571
571
572
572
```swift
573
-
@available(FoundationPreview 6.2.3, *)
573
+
@available(FoundationPreview 6.3, *)
574
574
/// Subprogress is used to establish parent-child relationship between two instances of `ProgressManager`.
575
575
///
576
576
/// Subprogress is returned from a call to `subprogress(assigningCount:)` by a parent ProgressManager.
@@ -599,7 +599,7 @@ public struct Subprogress: ~Copyable, Sendable {
599
599
This list of allowed (Value, Summary) pairs may be expanded in the future. Based on pre-existing use cases of additional properties on `Progress`, we believe that the currently allowed (Value, Summary) pairs should suffice for most use cases.
600
600
601
601
```swift
602
-
@available(FoundationPreview 6.2.3, *)
602
+
@available(FoundationPreview 6.3, *)
603
603
extensionProgressManager {
604
604
605
605
/// A type that conveys additional task-specific information on progress.
@@ -699,7 +699,7 @@ We pre-declare some of these additional properties that are commonly desired in
699
699
If you would like to report additional metadata or properties that are not part of the pre-declared additional properties, you can declare additional properties into `ProgressManager.Properties`, similar to how the pre-declared additional properties are declared. These additional properties can only have `Value` - `Summary` pairs that are either `Int` - `Int`, `Double` - `Double`, `String?` - `[String?]`, `URL?` - `[URL?]`, or `UInt64` - `[UInt64]`.
700
700
701
701
```swift
702
-
@available(FoundationPreview 6.2.3, *)
702
+
@available(FoundationPreview 6.3, *)
703
703
extensionProgressManager {
704
704
705
705
publicstructProperties {
@@ -842,7 +842,7 @@ extension ProgressManager {
842
842
`ProgressManager` contains a method that reads and writes additional properties on a single `ProgressManager`.
843
843
844
844
```swift
845
-
@available(FoundationPreview 6.2.3, *)
845
+
@available(FoundationPreview 6.3, *)
846
846
extensionProgressManager {
847
847
848
848
/// Accesses or mutates any properties that convey additional information about progress.
@@ -855,7 +855,7 @@ extension ProgressManager {
855
855
`ProgressManager` contains a struct `Values` that uses `@dynamicMemberLookup` to access or mutate, at runtime, custom `ProgressManager.Property` types that you may declare. `Values` is only accessed or mutated from within the `withProperties` closure.
856
856
857
857
```swift
858
-
@available(FoundationPreview 6.2.3, *)
858
+
@available(FoundationPreview 6.3, *)
859
859
extensionProgressManager {
860
860
861
861
/// A container that holds values for properties that convey information about progress.
@@ -936,7 +936,7 @@ extension ProgressManager {
936
936
`ProgressManager` contains methods that summarize additional properties of across a subtree rooted by the `ProgressManager` they are called from.
937
937
938
938
```swift
939
-
@available(FoundationPreview 6.2.3, *)
939
+
@available(FoundationPreview 6.3, *)
940
940
extensionProgressManager {
941
941
942
942
/// Returns a summary for a custom integer property across the progress subtree.
@@ -1016,7 +1016,7 @@ extension ProgressManager {
1016
1016
`ProgressReporter` is a read-only instance of its underlying `ProgressManager`. It is also used as an adapter to add a `ProgressManager` as a child to more than one parent `ProgressManager` by calling the `assign(count:to:)` method on a parent `ProgressManager`.
1017
1017
1018
1018
```swift
1019
-
@available(FoundationPreview 6.2.3, *)
1019
+
@available(FoundationPreview 6.3, *)
1020
1020
/// ProgressReporter is used to observe progress updates from a `ProgressManager`. It may also be used to incorporate those updates into another `ProgressManager`.
1021
1021
///
1022
1022
/// It is read-only and can be added as a child of another ProgressManager.
@@ -1162,7 +1162,7 @@ To add an instance of `Foundation.Progress` as a child to an instance of `Progre
1162
1162
>The choice of naming the interop method as `subprogress(assigningCount: to:)` is to keep the syntax consistent with the method used to add a `ProgressManager` instance to the progress tree using this new API, `subprogress(assigningCount:)`.
1163
1163
1164
1164
```swift
1165
-
@available(FoundationPreview 6.2.3, *)
1165
+
@available(FoundationPreview 6.3, *)
1166
1166
extensionProgressManager {
1167
1167
/// Adds a Foundation's `Progress` instance as a child which constitutes a certain `count` of `self`'s `totalCount`.
1168
1168
///
@@ -1180,7 +1180,7 @@ To add an instance of `ProgressManager` as a child to an instance of the existin
1180
1180
>The choice of naming the interop methods as `makeChild(withPendingUnitCount:)` and `addChild(_:withPendingUnitCount` is to keep the syntax consistent with the method used to add a `Foundation.Progress` instance as a child to another `Foundation.Progress`.
1181
1181
1182
1182
```swift
1183
-
@available(FoundationPreview 6.2.3, *)
1183
+
@available(FoundationPreview 6.3, *)
1184
1184
extensionProgress {
1185
1185
/// Returns a Subprogress which can be passed to any method that reports progress
1186
1186
/// and can be initialized into a child `ProgressManager` to the `self`.
0 commit comments