Progress
public enum Progress
extension Progress: RawRepresentable
extension Progress: Comparable
Represents the completion progress of a CKRecord save or fetch operation.
-
Initializes a
Progressinstance from a percentage expressed as aDoublein the range [0.0, 100.0].Declaration
Swift
public init(percent: Double)Parameters
percentA
Doublein the range [0.0, 100.0]. Values are clamped to this range.Return Value
The
Progress. -
The save or fetch operation is complete.
Declaration
Swift
case complete -
The save or fetch operation is incomplete.
percentis a value indicating progress in the range [0.0, 100.0).Declaration
Swift
case incomplete(percent: Double) -
Declaration
Swift
public var rawValue: Double { get } -
Declaration
Swift
public typealias RawValue = Double -
Initializes a
Progressinstance from a percentage expressed as aDoublein the range [0.0, 1.0].Declaration
Swift
public init(rawValue: Double)Parameters
percentA
Doublein the range [0.0, 1.0]. Values are clamped to this range.Return Value
The
Progress. -
Declaration
Swift
public static func < (left: Progress, right: Progress) -> Bool
View on GitHub
Progress Enumeration Reference