ExportDocument

struct ExportDocument : FileDocument

Define the exported ‘ChordProviderDocument’

  • The type of image to export

    Declaration

    Swift

    static var readableContentTypes: [UTType] { get }
  • pdf

    The PDF to export

    Declaration

    Swift

    var pdf: Data
  • Init the struct

    Declaration

    Swift

    init(pdf: Data?)
  • Black magic

    Declaration

    Swift

    init(configuration: ReadConfiguration) throws
  • Save the exported image

    Declaration

    Swift

    func fileWrapper(configuration: WriteConfiguration) throws -> FileWrapper