<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SharedWithYou",
  "identifier" : "/documentation/SharedWithYou/SWHighlightMentionEvent",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Shared with You"
    ],
    "preciseIdentifier" : "c:objc(cs)SWHighlightMentionEvent"
  },
  "title" : "SWHighlightMentionEvent"
}
-->

# SWHighlightMentionEvent

An object that represents mention activity for a highlight.

```
class SWHighlightMentionEvent
```

## Topics

### Creating a mention event

[`-  initWithHighlight:mentionedPersonCloudKitShareHandle:`](/documentation/SharedWithYou/SWHighlightMentionEvent/init(highlight:mentionedPersonCloudKitShareHandle:))

Creates and initializes a mention event.

[`-  initWithHighlight:mentionedPersonIdentity:`](/documentation/SharedWithYou/SWHighlightMentionEvent/init(highlight:mentionedPersonIdentity:))

Creates and initializes a mention event.

### Accessing the event person

[`mentionedPersonHandle`](/documentation/SharedWithYou/SWHighlightMentionEvent/mentionedPersonHandle)

The handle of the person the sender mentions.

## Relationships

### Conforms To

[`SWHighlightEvent`](/documentation/SharedWithYou/SWHighlightEvent)

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

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

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

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

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

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

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

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

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

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)