Contents

mimeType

Returns the MIME type for the receiver.

Declaration

var mimeType: String? { get set }

Return Value

The MIME type for the receiver (for example, “text/xml”).

Discussion

MIME types are assigned by IANA (see http://www.iana.org/assignments/media-types/index.html).

See Also

Managing Document Attributes