Contents

SectionedFetchRequest.Configuration

The request’s configurable properties.

Declaration

struct Configuration

Overview

You initialize a SectionedFetchRequest with a section identifier, an optional predicate, and sort descriptors, either explicitly or with a configured NSFetchRequest. Later, you can dynamically update the identifier, predicate, and sort parameters using the request’s configuration structure.

You access or bind to a request’s configuration components through properties on the associated SectionedFetchResults instance, just like you do for a FetchRequest using FetchRequest.Configuration.

When configuring a sectioned fetch request, ensure that the combination of the section identifier and the primary sort descriptor doesn’t create discontiguous sections.

Topics

Setting the section identifier

Setting a predicate

Setting sort descriptors

See Also

Configuring a request dynamically