Skip to content

Type Method

merge(_:_:)

iOS 26.0+ iPadOS 26.0+ Mac Catalyst 26.0+ macOS 26.0+ tvOS 26.0+ visionOS 26.0+ watchOS 26.0+
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.