isFinished
TypeScriptget isFinished(): booleanSwift declarationfinal var isFinished: Bool { get }The state of completion of work. If `completedCount` >= `totalCount`, the value will be `true`.
class · iOS 27.0+ · SDK 27.1
@dynamicMemberLookup final class ProgressManagerAn object that conveys ongoing progress to the user for a specified task.
get isFinished(): booleanSwift declarationfinal var isFinished: Bool { get }The state of completion of work. If `completedCount` >= `totalCount`, the value will be `true`.
static init(totalCount?: (number) | null): ProgressManagerSwift declarationconvenience init(totalCount: Int?)Initializes `self` with `totalCount`. If `totalCount` is set to `nil`, `self` is indeterminate. - Parameter totalCount: Total units of work.
get totalCount(): (number) | nullSwift declarationfinal var totalCount: Int? { get }The total units of work.
get description(): stringSwift declarationfinal var description: String { get }A description.
get completedCount(): numberSwift declarationfinal var completedCount: Int { get }The completed units of work.
get isIndeterminate(): booleanSwift declarationfinal var isIndeterminate: Bool { get }The state of initialization of `totalCount`. If `totalCount` is `nil`, the value will be `true`.
get debugDescription(): stringSwift declarationfinal var debugDescription: String { get }A debug description.
get fractionCompleted(): numberSwift declarationfinal var fractionCompleted: Double { get }The proportion of work completed. This takes into account the fraction completed in its children instances if children are present. If `self` is indeterminate, the value will be 0.0.
assignCountTo(count: number, reporter: ProgressReporter): voidSwift declarationfinal func assign(count: Int, to reporter: ProgressReporter)Adds a `ProgressReporter` as a child, with its progress representing a portion of `self`'s progress. If a cycle is detected, this will cause a crash at runtime. - Parameters: - count: Units, which is a portion of `totalCount`delegated to an instance of `Subprogress`. - reporter: A `ProgressReporter` instance.
assignCountTo33533(count: number, progress: Progress): voidSwift declarationfinal func assign(count: Int, to progress: Progress)Adds a Foundation's `Progress` instance as a child which constitutes a certain `count` of `self`'s `totalCount`. - Parameters: - count: Number of units delegated from `self`'s `totalCount`. - progress: `Progress` which receives the delegated `count`.
complete(count: number): voidSwift declarationfinal func complete(count: Int)Increases `completedCount` by `count`. - Parameter count: Units of work.
get reporter(): ProgressReporterSwift declarationfinal var reporter: ProgressReporter { get }A `ProgressReporter` instance, used for providing read-only observation of progress updates or composing into other `ProgressManager`s.
setCounts(counts: ((arg0: number, arg1: (number) | null) => void)): voidSwift declarationfinal func setCounts(_ counts: (inout Int, inout Int?) -> Void)15 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
ProgressManager.subprogress(assigningCount:)
The iOS SDK compiler rejected this binding: instance method 'out' requires that 'Subprogress' be a class type
ProgressManager.subscript(dynamicMember:)
Passing a Swift type itself is not supported.
ProgressManager.subscript(dynamicMember:)
Passing a Swift type itself is not supported.
ProgressManager.subscript(dynamicMember:)
Passing a Swift type itself is not supported.
ProgressManager.subscript(dynamicMember:)
Passing a Swift type itself is not supported.
ProgressManager.subscript(dynamicMember:)
Passing a Swift type itself is not supported.
ProgressManager.subscript(dynamicMember:)
Passing a Swift type itself is not supported.
ProgressManager.subscript(dynamicMember:)
Passing a Swift type itself is not supported.
ProgressManager.summary(of:)
Passing a Swift type itself is not supported.
ProgressManager.summary(of:)
Passing a Swift type itself is not supported.
ProgressManager.summary(of:)
Passing a Swift type itself is not supported.
ProgressManager.summary(of:)
Passing a Swift type itself is not supported.
ProgressManager.summary(of:)
Passing a Swift type itself is not supported.
ProgressManager.summary(of:)
Passing a Swift type itself is not supported.
ProgressManager.summary(of:)
Passing a Swift type itself is not supported.