Class

UITableViewFocusUpdateContext

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

Declaration

class UITableViewFocusUpdateContext : UIFocusUpdateContext

Overview

A focus update context provides extra information that is 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

var previouslyFocusedIndexPath: IndexPath?

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

var nextFocusedIndexPath: IndexPath?

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

Relationships

Conforms To

See Also

Table Management

Estimating the Height of a Table's Scrolling Area

Provide height estimates for your table view’s headers, footers, and rows to ensure that scrolling accurately reflects the size of your content.

class UITableViewController

A view controller that specializes in managing a table view.

protocol UITableViewDelegate

Methods for managing selections, configuring section headers and footers, deleting and reordering cells, and performing other actions in a table view.