SwiftUI React Nativev6.3.3
  • Values
  • Runtime

Getting started

  • Introduction
  • Installation
  • Quick start

Concepts

  • Reading the reference
  • Composing modifiers
  • Values
  • State and data flow

About

  • What it is
  • Why SwiftUI
  • History

Under the hood

  • How it renders
  • How it's generated
  • Principles
ValuesDrag and drop

DocumentConfiguration

The configuration of a document in a DocumentGroup.

StructureiOS 17.0+macOS 14.0+visionOS 1.0+DocumentConfiguration in SwiftUI

Declaration#

React
type DocumentConfiguration = { readonly fileURL: string | null; readonly isEditable: boolean; };
Swift
struct DocumentConfiguration

Properties#

  • fileURL*string | null
  • isEditable*boolean

See also#

More in Drag and drop.

  • DocumentCreationSourceDescribes the source used to create a new document.
  • DropConfigurationDescribes the behavior of the drop.
  • DropOperationOperation types that determine how a drag and drop session resolves when the user drops a drag item.
  • DropOperationSetA set of drop operations, corresponding to matching cases in DropOperation.
  • DropSessionA description of a drop that is in progress.
  • DropSessionIDThe identifier of a drag session.
  • DropSessionLocalSessionDescribes the session originated within the app.

On this page

0%
  • Declaration
  • Properties
  • See also
Report an issue