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

# sectionIdentifier(for:)

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

## Declaration

```swift
@MainActor @preconcurrency func sectionIdentifier(for index: Int) -> SectionIdentifierType?
```

## See Also

### Identifying sections

- [index(for:)](uikit/uitableviewdiffabledatasource-2euir/index(for:).md)
