---
title: sectionIdentifier
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/sectionedfetchresults/sectionidentifier
---

# sectionIdentifier

The key path that the system uses to group fetched results into sections.

## Declaration

```swift
@MainActor @preconcurrency var sectionIdentifier: KeyPath<Result, SectionIdentifier> { get nonmutating set }
```

## Discussion

Discussion Set this value to cause the associated SectionedFetchRequest to execute a fetch with a new section identifier, producing an updated collection of results. Changing this value produces a new set of sections. Use care to coordinate section and sort updates, as described in SectionedFetchRequest.Configuration.

## See Also

### Configuring the associated sectioned fetch request

- [nsPredicate](swiftui/sectionedfetchresults/nspredicate.md)
- [sortDescriptors](swiftui/sectionedfetchresults/sortdescriptors.md)
- [nsSortDescriptors](swiftui/sectionedfetchresults/nssortdescriptors.md)
- [SectionedFetchResults.Section](swiftui/sectionedfetchresults/section.md)
