How can you use San Francisco, the system font for macOS and Apple’s other OSes? An example traced through from macOS internals to PDF and HTML.
Three new versions that are compatible with Writing Tools in Sequoia 15.1 beta, and should perform better in other recent versions of macOS.
PDF was introduced by Adobe in 1993, when its viewer Acrobat became popular, and PDFs were created from PostScript using Distiller. Then came Preview from NeXT to Mac OS X.
Swift source code to accompany article about implementing a document-based app in SwiftUI for macOS.
Implementing a document-based app in SwiftUI for macOS. Fun and games with menus, and what are the differences between FileDocument and ReferenceFileDocument protocols?
Trying to display formatted text in plain text, markdown, rich text, HTML, and PDF using SwiftUI and in AppKit/WebKit views within SwiftUI.
Swift source code to accompany the article on SwiftUI on macOS: text, rich text, markdown, html and PDF views.
Swift/SwiftUI source code to accompany article on adding a PDF Help file to a SwiftUI app for macOS.
An explanation of how to implement the Help command, and how to use that to display a PDF document in a SwiftUI View.
Searching the text content of PDF documents often doesn’t work well, sometimes not at all. And recovering what you can see is text can also fail miserably.
