[AttachmentInfo]
-
Indicates whether any attachment in the array is currently uploading.
Declaration
Swift
var isUploading: Bool { get }Return Value
trueif at least one attachment is in.uploadingstate,falseotherwise -
Indicates whether any attachment in the array has an error.
Declaration
Swift
var hasError: Bool { get }Return Value
trueif at least one attachment is in.errorstate,falseotherwise -
Determines if the number of successfully uploaded attachments exceeds a specified count.
Declaration
Swift
func hasAttachmentsMoreThan(_ count: Int) -> BoolParameters
countThe threshold count to compare against
Return Value
trueif the number of uploaded attachments is greater than the specified count -
Finds the index of the first uploaded attachment with the specified destination URL.
Declaration
Swift
func firstIndexOfUploaded(destinationURL: URL) -> Int?Parameters
destinationURLThe destination URL to search for
Return Value
The index of the first matching attachment, or
nilif not found