<!--
{
  "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/CLSActivityItem",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "ClassKit"
    ],
    "preciseIdentifier" : "c:objc(cs)CLSActivityItem"
  },
  "title" : "CLSActivityItem"
}
-->

# CLSActivityItem

An abstract base class for gathering information about an activity.

```
class CLSActivityItem
```

## Overview

You don’t typically use an instance of this class directly. Instead, use one of its subclasses to represent a particular activity metric. For example, use a [`CLSScoreItem`](/documentation/ClassKit/CLSScoreItem) to add a score to a [`CLSContextType.quiz`](/documentation/ClassKit/CLSContextType/quiz) activity.

## Topics

### Accessing Activity Item Information

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

An identifier for the activity item.

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

A human readable name for the activity item.

## Relationships

### Conforms To

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

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

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

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

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

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

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

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

### Inherited By

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

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

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

### Inherits From

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

---

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)