Skip to content

Commit a64eabe

Browse files
committed
Merge pull request #89 from akolov/NSComparisonResult
NSComparisonResult.OrderedAscending should be equal to -1
2 parents f749c87 + 05a364a commit a64eabe

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)