---
title: "addChild(_:withPendingUnitCount:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/progress/addchild(_:withpendingunitcount:)-4hi92"
---

# addChild(_:withPendingUnitCount:)

Adds a ProgressReporter as a child to a Progress, which constitutes a portion of Progress’s totalUnitCount.

## Declaration

```swift
func addChild(_ reporter: ProgressReporter, withPendingUnitCount count: Int)
```

## Parameters

- `reporter`: A ProgressReporter instance.
- `count`: Number of units delegated from self’s totalCount.
