Instance Property インスタンスプロパティ

sortDescriptors

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

Declaration 宣言

var sortDescriptors: [SortDescriptor<Result>] { get set }
Available when Result inherits NSManagedObject. ResultNSManagedObjectを継承する場合に利用可能です。

Discussion 議論

Set this configuration value to cause a FetchRequest to execute a fetch with a new collection of SortDescriptor instances. If you want to use NSSortDescriptor instances, set nsSortDescriptors instead.

Access this value of a FetchRequest.Configuration structure for a given request by using the sortDescriptors property on the associated FetchedResults instance, either directly or through a Binding.

See Also 参照

Setting Sort Descriptors