<!--
{
  "availability" : [
    "iOS: 11.3.0 -",
    "iPadOS: 11.3.0 -",
    "macCatalyst: 11.3.0 -",
    "macOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ClassKit",
  "identifier" : "/documentation/ClassKit/CLSScoreItem",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "ClassKit"
    ],
    "preciseIdentifier" : "c:objc(cs)CLSScoreItem"
  },
  "title" : "CLSScoreItem"
}
-->

# CLSScoreItem

Activity information that signifies a score out of a possible maximum.

```
class CLSScoreItem
```

## Overview

Use an activity item of this type to indicate the relative success in completing a task, like the number of correctly answered questions on a quiz.

## Topics

### Creating Score Activity Items

[`-  initWithIdentifier:title:score:maxScore:`](/documentation/ClassKit/CLSScoreItem/init(identifier:title:score:maxScore:))

Initializes an activity item that holds a score value.

### Managing the Score

[`score`](/documentation/ClassKit/CLSScoreItem/score)

The score earned by a user in completing the task.

[`maxScore`](/documentation/ClassKit/CLSScoreItem/maxScore)

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

## Relationships

### Conforms To

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`Hashable`](/documentation/Swift/Hashable)

[`CVarArg`](/documentation/Swift/CVarArg)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`Equatable`](/documentation/Swift/Equatable)

### Inherits From

[`CLSActivityItem`](/documentation/ClassKit/CLSActivityItem)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)