Instance MethodFoundationEssentials
summary(of:)
iOS 26.0+
iPadOS 26.0+
Mac Catalyst 26.0+
macOS 26.0+
tvOS 26.0+
visionOS 26.0+
watchOS 26.0+
Returns a summary for a custom double property across the progress subtree.
func summary<P>(of property: KeyPath<ProgressManager.Properties, P.Type>) -> P.Summary where P : ProgressManager.Property, P.Summary == Double, P.Value == Double
Parameters
propertyThe type of the double property to summarize. Must be a property where both the value and summary types are
Double.
Return Value
A Double summary value for the specified property.
Discussion
This method aggregates the values of a custom double property from this progress manager and all its children, returning a consolidated summary value.