Implementing a document-based app in SwiftUI for macOS. Fun and games with menus, and what are the differences between FileDocument and ReferenceFileDocument protocols?
menu
Occasionally, switching apps in Sonoma’s Stage Manager sets the whole menu bar to red, and loses menus on its left. What’s the cause?
When I went to change the settings of the menu bar clock, they had vanished. Finding them revealed significant changes coming in macOS 11.
Simple: when running on older macOS, remove some items from the app menu. The solution is also straightforward, just very hard to locate.
Adding sub-commands to write the contents of textboxes to the pasteboard: a simple task, but so easy to get hopelessly lost in it.
