Instance Property


The score earned by a user in completing the task.


var score: Double { get set }


The value given here is judged against the activity item’s maxScore, so for a quiz with 8 questions, the maximum might be 8, and the score might be an integer in the range [0, 8].

See Also

Managing the Score

var maxScore: Double

The maximum possible score that the user can earn on a given task.