On coding, tech, privacy, AI and whatever else comes to this mind.

A cautionary tale: I tried migrating a document-based app to SwiftUI’s DocumentGroup and ReferenceFileDocument. Love the semantics and the code is simpler than with AppKit/UIKit. Unfortunately you get a plethora of bugs. iOS doesn’t save as some internal EnvironmentObject doesn’t release the document when dismissing the view. Switching to FileDocument saves but the recently saved file disappears from the UI. visionOS has no way to get back to the list of documents after opening one. macOS works.