Skip to content

Commit ee8221b

Browse files
authored
Merge pull request #1120 from ddunn2/dev-branch
2 parents f550ea6 + b172032 commit ee8221b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Foundation/NSSortDescriptor.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,13 @@ open class NSSortDescriptor: NSObject, NSSecureCoding, NSCopying {
3535

3636
open var key: String? { NSUnimplemented() }
3737
open var ascending: Bool { NSUnimplemented() }
38+
var keyPath: AnyKeyPath? { NSUnimplemented() }
3839

3940
open func allowEvaluation() { NSUnimplemented() } // Force a sort descriptor which was securely decoded to allow evaluation
4041

4142
public init(key: String?, ascending: Bool, comparator cmptr: Comparator) { NSUnimplemented() }
43+
convenience init<Root, Value>(keyPath: KeyPath<Root, Value>, ascending: Bool) { NSUnimplemented() }
44+
convenience init<Root, Value>(keyPath: KeyPath<Root, Value>, ascending: Bool, comparator cmptr: @escaping Comparator) { NSUnimplemented() }
4245

4346
open var comparator: Comparator { NSUnimplemented() }
4447

0 commit comments

Comments
 (0)