var sectionIdentifier : KeyPath <Result, SectionIdentifier >
The request’s section identifier key path.
Availability 有効性
Technology
struct Configuration
You initialize a Sectioned
with a section identifier, an optional predicate, and sort descriptors, either explicitly or with a configured NSFetch
. 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 Sectioned
instance, just like you do for a Fetch
using Fetch
.
When configuring a sectioned fetch request, ensure that the combination of the section identifier and the primary sort descriptor doesn’t create discontiguous sections.
var sectionIdentifier : KeyPath <Result, SectionIdentifier >
var nsPredicate : NSPredicate?
var sortDescriptors : [SortDescriptor <Result>]
SectionIdentifier
conforms to Hashable
and Result
inherits NSManagedObject
.var nsSortDescriptors : [NSSortDescriptor ]
var projectedValue : Binding<SectionedFetchRequest <SectionIdentifier , Result>.Configuration>