Skip to content

Commit 6f77298

Browse files
committed
NSComparisonResult should be equal to -1
To be in sync with value in Foundation on Apple platforms
1 parent 6681af4 commit 6f77298

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Foundation/NSObjCRuntime.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import CoreFoundation
1212

1313
public enum NSComparisonResult : Int {
1414

15-
case OrderedAscending
15+
case OrderedAscending = -1
1616
case OrderedSame
1717
case OrderedDescending
1818
}

0 commit comments

Comments
 (0)