Christian Tietze

  • Posts
  • Books
  • Apps
  • Work With Me
  • Contact

How to Print on macOS With An NSTableView and Customize the Result

Jun 15th, 2021

Teaser image

So a client of mine recently asked how he could customize his app’s printing. The app’s main window there mostly showed tabular data, so when you’re inside the NSTableView and hit ⌘P to print, the table view will redirect its draw(_:) output to the print dialog. That’s how you get printing for free.

Continue reading …

  • ∞ Permalink
  • • Comments
  • • Tags:
    • nstableview
    • printing

Contact • Newsletter • blog post feed
Become an affiliate • Legal Information • Twitter

Except where otherwise noted, content on this site is licensed CC BY-SA 4.0.