Contents

init(id:partData:)

Construct an instance of this object with the parts data passed in.

Declaration

init(id: AssignableDocument.ID, partData: [AssignableDocument.PartID : URL]) throws

Parameters

  • id:

    The ID of this document.

  • partData:

    A dictionary of part IDs to URL objects that contain the serialized parts data.

See Also

Creating an assignable document