A list of sort descriptors, specifying an order for the fetched objects.
Mac Catalyst 13.0+Beta
Construct sort descriptors with the properties of the objects that you want to fetch, listed in Table 1. For example, the following code sorts by creation date to find the oldest asset in the photo library.
A predicate that specifies which properties to select results by and that also specifies any constraints on selection.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.