---
title: "sectionIdentifier(for:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uitableviewdiffabledatasourcereference/sectionidentifier(for:)"
---

# sectionIdentifier(for:)

Returns an identifier for the section at the index you specify in the table view.

## Declaration

```swift
func sectionIdentifier(for index: Int) -> Any?
```

## See Also

### Identifying sections

- [index(forSectionIdentifier:)](uikit/uitableviewdiffabledatasourcereference/index(forsectionidentifier:).md)
