<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITableViewFocusUpdateContext",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UITableViewFocusUpdateContext"
  },
  "title" : "UITableViewFocusUpdateContext"
}
-->

# UITableViewFocusUpdateContext

A context object that provides information relevant to a specific focus update from one view to another.

```
@MainActor class UITableViewFocusUpdateContext
```

## Overview

A focus update context provides extra information that’s only relevant to focus updates involving table views. Instances of this class are ephemeral and are usually discarded after the update is finished.

## Topics

### Locating focusable items in a table view

[`previouslyFocusedIndexPath`](/documentation/UIKit/UITableViewFocusUpdateContext/previouslyFocusedIndexPath)

Returns the index path of the cell containing the context’s previously focused view.

[`nextFocusedIndexPath`](/documentation/UIKit/UITableViewFocusUpdateContext/nextFocusedIndexPath)

Returns the index path of the cell containing the context’s next focused view.

## Relationships

### Conforms To

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

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

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

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

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

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

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

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

### Inherits From

[`UIFocusUpdateContext`](/documentation/UIKit/UIFocusUpdateContext)

---

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)