<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.9.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/Progress/completedUnitCount",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSProgress(py)completedUnitCount"
  },
  "title" : "completedUnitCount"
}
-->

# completedUnitCount

The number of completed units of work for the current job.

```
var completedUnitCount: Int64 { get set }
```

## Discussion

For an [`Progress`](/documentation/Foundation/Progress) with a kind of [`file`](/documentation/Foundation/ProgressKind/file), the unit of this property is bytes, and the [`fileTotalCountKey`](/documentation/Foundation/ProgressUserInfoKey/fileTotalCountKey) and [`fileCompletedCountKey`](/documentation/Foundation/ProgressUserInfoKey/fileCompletedCountKey) keys in the `userInfo` dictionary report the overall count of files.

For any other kind of [`Progress`](/documentation/Foundation/Progress), the unit of measurement doesn’t matter as long as it’s consistent. You can report the values to the user in the [`localizedDescription`](/documentation/Foundation/Progress/localizedDescription) and [`localizedAdditionalDescription`](/documentation/Foundation/Progress/localizedAdditionalDescription).

## See Also

[`fractionCompleted`](/documentation/Foundation/Progress/fractionCompleted)

The fraction of the overall work that the progress object completes, including work from its suboperations.



---

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)