Structure

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