Initializer

init(parent:userInfo:)

Creates a new progress instance. 新しい進捗インスタンスを作成します。

Declaration 宣言

init(parent parentProgressOrNil: Progress?, 
userInfo userInfoOrNil: [ProgressUserInfoKey : Any]? = nil)

Parameters パラメータ

parentProgressOrNil

The containing Progress object, if any, to notify when reporting progress, or to consult when checking for cancellation.

The only valid values are current() or nil.

userInfoOrNil

The optional user information dictionary for the progress object.

Discussion 議論

This is the designated initializer for the Progress class.

See Also 参照

Creating Progress Objects 進捗オブジェクトを作成する