<!--
{
  "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/ProgressManager/Property/merge(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "s:10Foundation15ProgressManagerC8PropertyP5mergey7SummaryQzAH_AHtFZ"
  },
  "title" : "merge(_:_:)"
}
-->

# merge(_:_:)

Merges two summary values into a single combined summary.

```
static func merge(_ summary1: Self.Summary, _ summary2: Self.Summary) -> Self.Summary
```

## Parameters

`summary1`

The first summary to merge.

`summary2`

The second summary to merge.

## Return Value

A new summary that represents the combination of both input summaries.

## Discussion

This method is called to combine summary values from different branches
of the progress manager hierarchy into a unified summary.

---

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)