Working With Attachments
-
Represents an attachment and can be used to insert the associated attachment into a document at a specific key.
See moreDeclaration
Objective-C
@interface DITAttachment : NSObject
-
These objects are returned by calls to
See morefetchAttachment
onDITCollection
s. They must be kept alive for as long as you wish to observe updates about the associated attachment.Declaration
Objective-C
@interface DITAttachmentFetcher : NSObject
-
A representation of the status of an attachment.
An attachment’s status can be one of three types: completed, incomplete, or deleted.
Updates to an attachment’s status are delivered by registering a
See moreDITAttachmentFetcher
through a call tofetchAttachment
on aDITCollection
instance.Declaration
Objective-C
@interface DITAttachmentStatus : NSObject
-
Serves as a token for a specific attachment that you can pass to a call to
fetchAttachment
on aDITCollection
.Declaration
Objective-C
@interface DITAttachmentToken : NSObject
-
The types of attachment status that can be delivered to an attachment fetcher’s
See moreonStatusChanged
block.Declaration
Objective-C
enum DITAttachmentStatusType {}
-
An attachment status used when the attachment’s download has completed.
See moreDeclaration
Objective-C
@interface DITAttachmentStatusCompleted : DITAttachmentStatus
-
An attachment status used when the attachment is deleted.
Declaration
Objective-C
@interface DITAttachmentStatusDeleted : DITAttachmentStatus
-
An attachment status used when the attachment’s download is incomplete.
See moreDeclaration
Objective-C
@interface DITAttachmentStatusIncomplete : DITAttachmentStatus