<!--
{
  "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/ProgressReporter/summary(of:)-5klzp",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "s:10Foundation16ProgressReporterC7summary2ofSaySSSgGs7KeyPathCyAA0B7ManagerC10PropertiesOxmG_tAK8PropertyRzAG7SummaryRtzAF5ValueRtzlF"
  },
  "title" : "summary(of:)"
}
-->

# summary(of:)

Returns a summary for the specified string property across the progress subtree.

```
final func summary<P>(of property: KeyPath<ProgressManager.Properties, P.Type>) -> [String?] where P : ProgressManager.Property, P.Summary == [String?], P.Value == String?
```

## Parameters

`property`

The type of the string property to summarize. Must be a property
where both the value and summary types are `String`.

## Return Value

The aggregated summary value for the specified property across the entire subtree.

## Discussion

This method aggregates the values of a custom string property from the underlying progress manager
and all its children, returning a consolidated summary value.

---

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)