init(String)
Creates a new key using the specified string.
init(rawValue : String)
Creates a new key using the raw value of a string you specify.
Availability 有効性
Technology
struct ProgressUserInfoKey, @unchecked Sendable
Enhance the autogenerated description that localized
provides by including keys and related values in the user info dictionary. For example, if you provide the keys file
and file
, the localized
method uses the values from those keys to provide strings showing the number of completed and total files.
init(String)
init(rawValue : String)
static let estimatedTimeRemainingKey : ProgressUserInfoKey
static let throughputKey : ProgressUserInfoKey
static let fileAnimationImageKey : ProgressUserInfoKey
static let fileAnimationImageOriginalRectKey : ProgressUserInfoKey
static let fileCompletedCountKey : ProgressUserInfoKey
static let fileIconKey : ProgressUserInfoKey
static let fileOperationKindKey : ProgressUserInfoKey
static let fileTotalCountKey : ProgressUserInfoKey
static let fileURLKey : ProgressUserInfoKey
var kind: ProgressKind?
var estimatedTimeRemaining : TimeInterval?
var throughput: Int?
func setUserInfoObject (Any?, forKey : ProgressUserInfoKey)
var userInfo : [ProgressUserInfoKey : Any]
struct ProgressKind