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 morefetchAttachmentonDITCollections. They must be kept alive for as long as you wish to observe updates about the associated attachment.Declaration
Objective-C
@interface DITAttachmentFetcher : NSObject -
Serves as a token for a specific attachment that you can pass to a call to
fetchAttachmenton aDITCollection.Declaration
Objective-C
@interface DITAttachmentToken : NSObject -
A representation of the events that can occur in relation to an attachment fetch.
There are three different attachment fetch events:
Completed,Progress, orDeleted.There will be at most one
CompletedorDeletedevent per attachment fetch. There can be manyProgressevents delivered for each attachment fetch.Updates relating to an attachment fetch are delivered by registering a
See moreDITAttachmentFetcherthrough a call tofetchAttachmenton aDITCollectioninstance.Declaration
Objective-C
@interface DITAttachmentFetchEvent : NSObject -
The types of attachment fetch events that can be delivered to an attachment fetcher’s
See moreonFetchEventblock.Declaration
Objective-C
enum DITAttachmentFetchEventType : NSUInteger {} -
An attachment fetch event used when the attachment’s download has completed.
See moreDeclaration
Objective-C
@interface DITAttachmentFetchEventCompleted : DITAttachmentFetchEvent -
An attachment fetch event used when the attachment is deleted.
Declaration
Objective-C
@interface DITAttachmentFetchEventDeleted : DITAttachmentFetchEvent -
An attachment fetch event used when the attachment’s download progressed but is not yet complete.
See moreDeclaration
Objective-C
@interface DITAttachmentFetchEventProgress : DITAttachmentFetchEvent
Working With Attachments Reference