Class
ProgressReporter
iOS 26.0+
iPadOS 26.0+
Mac Catalyst 26.0+
macOS 26.0+
tvOS 26.0+
visionOS 26.0+
watchOS 26.0+
ProgressReporter is a wrapper for ProgressManager that carries information about ProgressManager.
@dynamicMemberLookup final class ProgressReporter
Overview
It is read-only and can be added as a child of another ProgressManager.
Topics
Operators
Instance Properties
var completedCount: IntThe completed units of work. Ifselfis indeterminate, the value will be 0.var debugDescription: StringA textual representation of the progress reporter suitable for debugging.var description: StringA textual representation of the progress reporter.var fractionCompleted: DoubleThe proportion of work completed. This takes into account the fraction completed in its children instances if children are present. Ifselfis indeterminate, the value will be 0.var isFinished: BoolThe state of completion of work. IfcompletedCount>=totalCount, the value will betrue.var isIndeterminate: BoolThe state of initialization oftotalCount. IftotalCountisnil, the value will betrue.var totalCount: Int?The total units of work.
Instance Methods
func hash(into: inout Hasher)func summary(of:)Returns a summary for the specified double property across the progress subtree.
Subscripts
subscript(dynamicMember:)Gets or sets custom duration properties.
Type Aliases
Relationships
Conforms To
Observation.ObservableSwift.CopyableSwift.CustomDebugStringConvertibleSwift.CustomStringConvertibleSwift.EquatableSwift.EscapableSwift.HashableSwift.SendableSwift.SendableMetatype