Attachment
public protocol Attachment
Protocol defining a document attachment, used to associate a binary payload to a Document
-
Content type of attachment
The content type system used is up to the application developer; the underlying system does not interpret this string.
Commonly this is a MIME type or a Uniform Type Identifier (UTI)
Declaration
Swift
var contentType: String
-
Name of attachment
Declaration
Swift
var name: String
-
Binary payload of attachment content
Declaration
Swift
var data: Data!