Skip to content

0.3.0

Compare
Choose a tag to compare
@danielsaidi danielsaidi released this 14 Dec 09:50
· 40 commits to main since this release

This version bumps to Swift 5.9 and replaces the Printer protocol with a class to make the library less complex.

Due to this, the PrinterView is no longer needed, and has been deprecated.

Plus, PrintingKit now builds on all Apple platforms, to let you import it without complicated, conditional adjustments.

💡 Behavior Changes

  • Printer is now a single, open class on all supported platforms.
  • PrintItem.string is now a proper enum case.

🗑️ Deprecations

  • Pdf.PdfDataError has been renamed to Pdf.DataError.
  • PrinterError has been renamed to Printer.PrintError.
  • PrinterView is deprecated. Use Printer directly.