![]() ![]() The core of every document based app is UIDocument. At the end I explore some best practices to migrate your existing apps to take advantage of UIDocument. I'll then explain which features are built-in, and how to customize them further. In this video, you will learn how to use UIDocument and how to present documents with UIDocumentViewController. This enables features like sharing, dragging the document, undo and redo support, and more. It works together with UIDocument to automatically configure the navigation bar. UIDocumentViewController is a new base class for content view controllers. To learn more about the SwiftUI side of this, check out 'Build document-based apps in SwiftUI' from WWDC20 and 'SwiftUI on iPad: Add toolbars, titles, and more' from WWDC22. To catch up on desktop-class iPad APIs, check out 'Meet desktop-class iPad' and 'Build a desktop-class iPad app' from WWDC22.įor SwiftUI development, DocumentGroup now has support for all these features with no additional code. You get great system defaults, but can customize any individual behavior. This new view controller is built in a modular way. It works nicely together with the desktop-class iPad APIs introduced in iPadOS 16, and the existing document-centric APIs. iPadOS 17 introduces a new view controller that automatically enables a large number of features in your app. ![]() This video focuses on improvements to viewer and editor apps, but some of the content discussed also applies to browser apps. Those that allow browsing documents, such as the Files app those that allow viewing content, for example Quick Look and those that also allow editing or creating content, like Pages, Keynote, or Numbers. There are three types of document-centric apps. Document-centric apps are a big part of productivity tools, especially on the iPad. I'm Michael Ochs and in this video I'm going to talk about how to build better document-centric apps. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |