TechnologiesData, Storage & Cloud

Assignables

iOSmacOStvOSwatchOSvisionOS

Assignables provides a mergeable document model for documents composed of pages, questions, and marks that can be assigned to and edited by users on iOS and visionOS. You build documents from conforming types such as AssignableDocument and AssignedWorkDocument, organizing their content with AssignableDocumentElement and DocumentElement parts identified by DocumentElementID and BasicDocumentElementID. Edits merge through the MergeableDocument, MergeableDocumentPage, and MergeablePartsContainer protocols, while contributors are tracked with user identities like StringUserIdentity and AnonymousUserIdentity, resolved through UserIdentityFactory and UserIdentityTypeRegistry.

Essentials 3

The foundational protocol and concrete document types you use to model assignable content.

  • Pr
    Assignable
    Documents conforming to this protocol can be assigned to a user.
  • St
    AssignableDocument
    An assignable document is an augmented PDF that allows teachers to mark up
  • St
    AssignedWorkDocument
    An assigned work document is a document that contains taker and

Document Configuration 2

Types that describe how assignable and assigned-work documents are configured.

  • Pr
    AssignableDocumentConfiguration
    A protocol describing options for ``AssignableDocument``,
  • Pr
    AssignedWorkDocumentConfiguration
    A protocol that describes the configuration of an assigned-work document.

Document Elements 6

Protocols and identifiers for the pages, questions, and marks that make up a document's content.

  • Pr
    DocumentElement
    Represents an element that is contained within a document.
  • Pr
    AssignableDocumentElement
    An element of an ``AssignableDocument``.
  • Pr
    AssignedWorkDocumentElement
    An element of an ``AssignedWorkDocument``.
  • Pr
    DocumentElementID
    An identifier for an element in a document.
  • St
    BasicDocumentElementID
    A default implementation for a document element identifier.
  • St
    DocumentThumbnail
    A structure that contains an image of an entire

Mergeable Documents 5

Protocols and data types that merge concurrent edits across documents, pages, and parts.

  • Pr
    MergeableDocument
    Documents conforming to this protocol can merge several
  • Pr
    MergeableDocumentPage
    Types conforming to this protocol indicate that they are
  • Pr
    MergeablePartsContainer
    Objects conforming to this protocol allow
  • St
    MergeablePartsContainerPartID
    The ID of a part in a `MergeablePartsContainer`.
  • En
    MergeablePartData
    An enumeration of the data values that a mergeable document part can hold.

User Identities 6

Types that represent and resolve the users who are assigned to and contribute edits to a document.

  • Pr
    UserIdentity
    Types conforming to this protocol can act as
  • St
    AnyUserIdentity
    A user identity that performs type erasure by wrapping another user identity.
  • St
    StringUserIdentity
    A user identity defined by a string.
  • St
    AnonymousUserIdentity
    A user identity for unknown editors.
  • En
    UserIdentityFactory
    A type that contains helpers for creating user identity objects.
  • Cl
    UserIdentityTypeRegistry
    A registry for user identity types.

Structures 2

  • St
    AssignableDocumentView
    SwiftUI View to display an `AssignableDocument`.
  • St
    AssignedWorkDocumentView
    SwiftUI View to display an `AssignedWorkDocument`
← Data, Storage & Cloud