---
title: "assign(count:to:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/progressmanager/assign(count:to:)-87zdf"
---

# assign(count:to:)

Adds a Foundation’s Progress instance as a child which constitutes a certain count of self’s totalCount.

## Declaration

```swift
final func assign(count: Int, to progress: Progress)
```

## Parameters

- `count`: Number of units delegated from self’s totalCount.
- `progress`: Progress which receives the delegated count.
