Contents

PlaygroundPage.AssessmentStatus.pass(message:)

An assessment that communicates that a learner has successfully completed a task.

Declaration

case pass(message: String?)

Parameters

  • message:

    A message you use to affirm a learner's succes.

Discussion

The message associated value can contain markup. For more information on markup, see Markup Formatting Reference. The example below shows a popover with the message “Great job!”

PlaygroundPage.current.assessmentStatus = .pass(message: "**Great** job!")