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

# SWHighlightCenter

An object that contains a priority-ordered list of universal links to share with the current user.

```
class SWHighlightCenter
```

## Overview

The system determines which links it surfaces. The app is responsible for updating its UI to reflect the latest highlights list that the system provides.

## Topics

### Setting the delegate

[`delegate`](/documentation/SharedWithYou/SWHighlightCenter/delegate)

The delegate object for the highlight center.

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

The protocol you use to notify the delegate when the list or rank order of surfaced highlights changes.

### Accessing highlights

[`highlights`](/documentation/SharedWithYou/SWHighlightCenter/highlights)

An array of shared highlights.

[`highlightCollectionTitle`](/documentation/SharedWithYou/SWHighlightCenter/highlightCollectionTitle)

A localized title to display with a collection of highlights.

### Retrieving collaboration highlights

[`systemCollaborationSupportAvailable`](/documentation/SharedWithYou/SWHighlightCenter/isSystemCollaborationSupportAvailable)

A Boolean value that represents full support for Messages collaboration features.

[`-  collaborationHighlightForIdentifier:error:`](/documentation/SharedWithYou/SWHighlightCenter/collaborationHighlight(forIdentifier:)-23ytv)

Returns a collaboration highlight for a specified collaboration identifier.

[`collaborationHighlight(forIdentifier:)`](/documentation/SharedWithYou/SWHighlightCenter/collaborationHighlight(forIdentifier:)-87lhr)

Returns a collaboration highlight for a specified identifier string.

[`-  getCollaborationHighlightForURL:completionHandler:`](/documentation/SharedWithYou/SWHighlightCenter/getCollaborationHighlight(for:completionHandler:))

Returns a collaboration highlight for a specified URL.

[`-  getHighlightForURL:completionHandler:`](/documentation/SharedWithYou/SWHighlightCenter/getHighlightFor(_:completionHandler:))

Returns a highlight for a specified URL.

[`-  getSignedIdentityProofForCollaborationHighlight:usingData:completionHandler:`](/documentation/SharedWithYou/SWHighlightCenter/getSignedIdentityProof(for:using:completionHandler:))

Signs passed-in data with the local device’s private key.

### Posting highlight events

[`-  postNoticeForHighlightEvent:`](/documentation/SharedWithYou/SWHighlightCenter/postNotice(for:))

Posts a specified event to the highlight center for display.

[`-  clearNoticesForHighlight:`](/documentation/SharedWithYou/SWHighlightCenter/clearNotices(for:))

Clears the notices for a specified collaboration highlight.

### Handling errors

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

The error codes for the highlight center.

## Relationships

### Conforms To

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

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

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

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

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

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

### 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)