Instance Method
subprogress(assigningCount:)
iOS 26.0+
iPadOS 26.0+
Mac Catalyst 26.0+
macOS 26.0+
tvOS 26.0+
visionOS 26.0+
watchOS 26.0+
Returns a
Subprogress representing a portion of self which can be passed to any method that reports progress.func subprogress(assigningCount portionOfParentTotal: Int) -> Subprogress
Parameters
portionOfParentTotalThe portion of
totalCountto be delegated to theSubprogress.
Return Value
A Subprogress instance.
Discussion
If the Subprogress is not converted into a ProgressManager (for example, due to an error or early return), then the assigned count is marked as completed in the parent ProgressManager.