Contents

sortDescriptors

The request’s sort descriptors, accessed as value types.

Declaration

var sortDescriptors: [SortDescriptor<Result>] { get set }

Discussion

Set this configuration value to cause a SectionedFetchRequest to execute a fetch with a new collection of SortDescriptor instances. If you want to use NSSortDescriptor instances, set nsSortDescriptors instead. Use care to coordinate section and sort updates, as described in SectionedFetchRequest.Configuration.

Access this value for a given request by using the sortDescriptors property on the associated SectionedFetchResults instance, either directly or with a Binding.

See Also

Setting sort descriptors