<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/ProgressKind",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@T@NSProgressKind"
  },
  "title" : "ProgressKind"
}
-->

# ProgressKind

An object that represents the kind of progress.

```
struct ProgressKind
```

## Discussion

When tracking file operations with the progress [`kind`](/documentation/Foundation/Progress/kind) set to [`file`](/documentation/Foundation/ProgressKind/file), provide a value for the [`fileOperationKindKey`](/documentation/Foundation/ProgressUserInfoKey/fileOperationKindKey) in the user info dictionary.

To specify the kind of file operation, provide one of the following values:

- [`copying`](/documentation/Foundation/Progress/FileOperationKind-swift.struct/copying)
- [`decompressingAfterDownloading`](/documentation/Foundation/Progress/FileOperationKind-swift.struct/decompressingAfterDownloading)
- [`downloading`](/documentation/Foundation/Progress/FileOperationKind-swift.struct/downloading)
- [`uploading`](/documentation/Foundation/Progress/FileOperationKind-swift.struct/uploading)
- [`receiving`](/documentation/Foundation/Progress/FileOperationKind-swift.struct/receiving)

## Topics

### Creating Kinds of Progress

[`init(_:)`](/documentation/Foundation/ProgressKind/init(_:))

Creates a new kind of progress using the specified string.

[`init(rawValue:)`](/documentation/Foundation/ProgressKind/init(rawValue:))

Creates a new kind of progress using the raw value of a string you specify.

### Recognizing Kinds of Progress

[`file`](/documentation/Foundation/ProgressKind/file)

The value that indicates that the progress is tracking a file operation.



---

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)