SwiftUI DocumentGroup: Build Document-Based Apps for iPhone, iPad, Mac, and visionOS
A practical guide to SwiftUI DocumentGroup in iOS 26: FileDocument vs ReferenceFileDocument, custom UTType setup, FileWrapper for packages, autosave and undo wiring, plus the platform quirks on iPhone, iPad, Mac, and visionOS that nobody warns you about.
