Contents

subscript(dynamicMember:)

Gets or sets custom integer properties.

Declaration

final subscript<P>(dynamicMember key: KeyPath<ProgressManager.Properties, P.Type>) -> Int where P : ProgressManager.Property, P.Summary == Int, P.Value == Int { get set }

Parameters

  • key:

    A key path to the custom integer property type.

Overview

This subscript provides read-write access to custom progress properties where both the value and summary types are Int. If the property has not been set, the getter returns the property’s default value.