<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/Progress/subprogress(assigningCount:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "s:So10NSProgressC10FoundationE11subprogress14assigningCountAC11SubprogressVSi_tF"
  },
  "title" : "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`

```
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

A `Subprogress` instance.

## Discussion

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)