Skip Navigation
Type MethodMethod

question(_:of:)

Returns the progress of the assessments, such as Question 1 of 2.

static func question(
    _ index: Int,
    of total: Int
) -> String

Parameters

index

The one-based number of the question.

total

The number of questions.

Return Value

The progress text.