Merge pull request #1125 from apple/swift-PR-11088
Drop RandomAccessCollection conformance for String.UTF16View
diff --git a/Foundation/NSSortDescriptor.swift b/Foundation/NSSortDescriptor.swift
index 7a09d86..52d83a8 100644
--- a/Foundation/NSSortDescriptor.swift
+++ b/Foundation/NSSortDescriptor.swift
@@ -35,10 +35,13 @@
open var key: String? { NSUnimplemented() }
open var ascending: Bool { NSUnimplemented() }
+ var keyPath: AnyKeyPath? { NSUnimplemented() }
open func allowEvaluation() { NSUnimplemented() } // Force a sort descriptor which was securely decoded to allow evaluation
public init(key: String?, ascending: Bool, comparator cmptr: Comparator) { NSUnimplemented() }
+ convenience init<Root, Value>(keyPath: KeyPath<Root, Value>, ascending: Bool) { NSUnimplemented() }
+ convenience init<Root, Value>(keyPath: KeyPath<Root, Value>, ascending: Bool, comparator cmptr: @escaping Comparator) { NSUnimplemented() }
open var comparator: Comparator { NSUnimplemented() }