---
title: SWHighlightEvent
framework: sharedwithyou
role: symbol
role_heading: Protocol
path: sharedwithyou/swhighlightevent
---

# SWHighlightEvent

A protocol that defines an activity that the system posts in response to a user action for a highlight.

## Declaration

```swift
protocol SWHighlightEvent : NSCopying, NSSecureCoding, NSObjectProtocol
```

## Mentioned in

Adding shared content collaboration to your app

## Topics

### Accessing the URL

- [highlightURL](sharedwithyou/swhighlightevent/highlighturl.md)

## Relationships

### Inherits From

- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

### Conforming Types

- [SWHighlightChangeEvent](sharedwithyou/swhighlightchangeevent.md)
- [SWHighlightMembershipEvent](sharedwithyou/swhighlightmembershipevent.md)
- [SWHighlightMentionEvent](sharedwithyou/swhighlightmentionevent.md)
- [SWHighlightPersistenceEvent](sharedwithyou/swhighlightpersistenceevent.md)

## See Also

### Highlight events

- [SWHighlightChangeEvent](sharedwithyou/swhighlightchangeevent.md)
- [SWHighlightMembershipEvent](sharedwithyou/swhighlightmembershipevent.md)
- [SWHighlightMentionEvent](sharedwithyou/swhighlightmentionevent.md)
- [SWHighlightPersistenceEvent](sharedwithyou/swhighlightpersistenceevent.md)
