Instance Subscript
subscript(dynamicMember:)
iOS 26.0+
iPadOS 26.0+
Mac Catalyst 26.0+
macOS 26.0+
tvOS 26.0+
visionOS 26.0+
watchOS 26.0+
Gets or sets custom duration properties.
subscript<P>(dynamicMember key: KeyPath<ProgressManager.Properties, P.Type>) -> Duration where P : ProgressManager.Property, P.Summary == Duration, P.Value == Duration { get }
Parameters
keyA key path to the custom duration property type.
Overview
This subscript provides read-write access to custom progress properties where the value type is Duration and the summary type is Duration. If the property has not been set, the getter returns the property’s default value.