Skip to content

Commit 05a364a

Browse files
committed
NSComparisonResult.OrderedAscending should be equal to -1
1 parent 6681af4 commit 05a364a

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)