Contents

readAdditionalContent(from:)

Handles reading non-Core Data content in the additional content directory in the document’s file package.

Declaration

func readAdditionalContent(from absoluteURL: URL) throws

Parameters

  • absoluteURL:

    The URL for the additional content directory in the document’s file package.

Discussion

You override this method to read non-Core Data content from the additional content directory in the document’s file package.

If you implement this method, it’s invoked automatically by read(from:).

There’s no need to invoke super’s implementation.

Special considerations

Additional content isn’t supported on iCloud.

See Also

Customizing read and write operations