init(_:)
Creates an NSSortDescriptor representing the same sort as the given SortDescriptor.
Declaration
@backDeployed(before: iOS 17, macOS 14, tvOS 17, watchOS 10)
convenience init<Compared>(_ sortDescriptor: SortDescriptor<Compared>) where Compared : NSObjectParameters
- sortDescriptor:
The
SortDescriptorto convert.