Building Document Based Swiftui Applications

Authoritative guide for building and migrating document-based apps in SwiftUI using the Document protocol (iOS 27 and aligned releases, including macOS Golden Gate). Consult when building a new document-based app; implementing open, edit, save, or export document flows; working with DocumentGroup or DocumentGroupLaunchScene; implementing DocumentReader or DocumentWriter; using FileWrapper via FileWrapperDocumentReader or FileWrapperDocumentWriter; working with package documents; accessing a document's file URL directly; reporting progress during read/write; registering undo actions; migrating from FileDocument or ReferenceFileDocument to the new API; building a read-only document viewer; when autosave is not working in a document app; declaring custom UTType as document formats.

artemnovichkov Updated

File contents

artemnovichkov/xcode-skills/tree/main/skills/building-document-based-swiftui-applications commit 7043b0713a

Frequently asked questions

npx skillmds@latest add artemnovichkov/building-document-based-swiftui-applications