One Logo Pool Ball
ClassKitUI · IOS API REFERENCE

AssignedDocumentLabel

struct · iOS 26.4+ · SDK 27.1

@MainActor @preconcurrency struct AssignedDocumentLabel

A view that displays the status or date information of the assigned document. `AssignedDocumentLabel` displays information about an assigned document for students, including submission status and relevant dates like due dates. The view automatically updates its appearance based on assigned document state, showing past-due items in red. ```swift VStack(alignment: .leading) { Text("My Document") .font(.headline) HStack { AssignedDocumentLabel(role: .status, documentURL: documentURL) AssignedDocumentLabel(role: .date, documentURL: documentURL) } .font(.caption) } ```

Members (1)

init · iOS 26.4+

init

TypeScript
static init(role: AssignedDocumentLabel_Role, documentURL: string): Promise<AssignedDocumentLabel>
Swift declaration
@MainActor @preconcurrency init(role: AssignedDocumentLabel.Role, documentURL: URL)

Creates a label that displays information about the assigned document. - Parameters: - role: The type of document information to display. - documentURL: The URL of the assigned document.

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

AssignedDocumentLabel.body

This protocol needs associated types that cannot yet cross the bridge.

All ClassKitUI types →