Skip to content

Commit 65005c6

Browse files
authored
Merge pull request #1133 from ddunn2/sortDescriptor
2 parents dc1addd + 87bbf3a commit 65005c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Foundation/NSSortDescriptor.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +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() }
38+
public var keyPath: AnyKeyPath? { NSUnimplemented() }
3939

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

4242
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() }
43+
public convenience init<Root, Value>(keyPath: KeyPath<Root, Value>, ascending: Bool) { NSUnimplemented() }
44+
public convenience init<Root, Value>(keyPath: KeyPath<Root, Value>, ascending: Bool, comparator cmptr: @escaping Comparator) { NSUnimplemented() }
4545

4646
open var comparator: Comparator { NSUnimplemented() }
4747

0 commit comments

Comments
 (0)