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

# SWHighlightChangeEvent

An object that represents change activity for a highlight.

```
class SWHighlightChangeEvent
```

## Topics

### Creating a change event

[`-  initWithHighlight:trigger:`](/documentation/SharedWithYou/SWHighlightChangeEvent/init(highlight:trigger:))

Creates and initializes a change event.

### Accessing event attributes

[`highlightURL`](/documentation/SharedWithYou/SWHighlightChangeEvent/highlightURL)

The URL of the hightlight.

[`changeEventTrigger`](/documentation/SharedWithYou/SWHighlightChangeEvent/changeEventTrigger)

The type of change event for the highlight.

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

The type of change event for the highlight

## Relationships

### Inherits From

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

### Conforms To

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

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

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

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

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

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

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

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

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

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

---

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)