---
title: "subprogress(assigningCount:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/progress/subprogress(assigningcount:)"
---

# subprogress(assigningCount:)

Returns a Subprogress which can be passed to any method that reports progress It can be then used to create a child ProgressManager reporting to this Progress

## Declaration

```swift
func subprogress(assigningCount count: Int) -> Subprogress
```

## Parameters

- `count`: Number of units delegated to a child instance of ProgressManager which may be instantiated by Subprogress later when reporter(totalCount:) is called.

## Return Value

Return Value A Subprogress instance.

## Discussion

Discussion Delegates a portion of totalUnitCount to a future child ProgressManager instance.
