We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9f3ad28 + 316ff9f commit 1665716Copy full SHA for 1665716
Foundation/NSLocale.swift
@@ -236,12 +236,14 @@ extension NSLocale {
236
}
237
238
239
-public func ==(_ lhs: NSLocale.Key, _ rhs: NSLocale.Key) -> Bool {
240
- return lhs.rawValue == rhs.rawValue
241
-}
+extension NSLocale.Key {
+ public static func ==(_ lhs: NSLocale.Key, _ rhs: NSLocale.Key) -> Bool {
+ return lhs.rawValue == rhs.rawValue
242
+ }
243
-public func <(_ lhs: NSLocale.Key, _ rhs: NSLocale.Key) -> Bool {
244
- return lhs.rawValue < rhs.rawValue
+ public static func <(_ lhs: NSLocale.Key, _ rhs: NSLocale.Key) -> Bool {
245
+ return lhs.rawValue < rhs.rawValue
246
247
248
249
0 commit comments