Contents

UIDocument.CreationIntent

An app intent that creates new documents for your app.

Declaration

struct CreationIntent

Mentioned in

Overview

UIKit provides a default intent. You can extend this structure to provide additional intents for your app.

// Extend the creation intent enumeration to add custom options for document creation.
extension UIDocument.CreationIntent {
    static let template = UIDocument.CreationIntent("template")
}

For more information, see Customizing a document-based app’s launch experience.

Topics

Accessing creation intents

Creating new intents