Working With Attachments

  • Represents an attachment and can be used to insert the associated attachment into a document at a specific key.

    See more

    Declaration

    Objective-C

    @interface DITAttachment : NSObject
  • These objects are returned by calls to fetchAttachment on DITCollections. They must be kept alive for as long as you wish to observe updates about the associated attachment.

    See more

    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 DITAttachmentFetcher through a call to fetchAttachment on a DITCollection instance.

    See more

    Declaration

    Objective-C

    @interface DITAttachmentStatus : NSObject
  • Serves as a token for a specific attachment that you can pass to a call to fetchAttachment on a DITCollection.

    Declaration

    Objective-C

    @interface DITAttachmentToken : NSObject
  • The types of attachment status that can be delivered to an attachment fetcher’s onStatusChanged block.

    See more

    Declaration

    Objective-C

    enum DITAttachmentStatusType {}
  • An attachment status used when the attachment’s download has completed.

    See more

    Declaration

    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 more

    Declaration

    Objective-C

    @interface DITAttachmentStatusIncomplete : DITAttachmentStatus