<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "DockKit",
  "identifier" : "/documentation/DockKit/DockAccessory/TrackedObject",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "DockKit"
    ],
    "preciseIdentifier" : "s:7DockKit0A9AccessoryC13TrackedObjectV"
  },
  "title" : "DockAccessory.TrackedObject"
}
-->

# DockAccessory.TrackedObject

The state of a tracked object in the active tracking session.

```
struct TrackedObject
```

## Topics

### Instance Properties

[`var identifier: UUID`](/documentation/DockKit/DockAccessory/TrackedObject/identifier)

A unique identifier for the tracked object.
This identifier persists as long as the dock tracks the object.
The value is random and doesn’t persist across sessions.

[`var rect: CGRect`](/documentation/DockKit/DockAccessory/TrackedObject/rect)

The bounding box rectangle of the tracked object in the frame.

[`var saliencyRank: Int?`](/documentation/DockKit/DockAccessory/TrackedObject/saliencyRank)

The saliency rank of the object the dock is tracking.
A lower rank indicates higher importance of the object.
This property is `nil` if the saliency ranking isn’t set or the object isn’t salient.

## Relationships

### Conforms To

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

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

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

---

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)