Contents

fileURL

The location of the document’s on-disk representation.

Declaration

nonisolated var fileURL: URL? { get set }

Return Value

The document’s location.

Discussion

The default implementation of this property returns the URL of the file that was opened. Changing the value of this property does not actually change the document’s name or location; it is only for recording the document’s location during its initial opening or saving.

See Also

Getting Document Metadata