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 d94be7e + ea0fabd commit ef5b7beCopy full SHA for ef5b7be
Foundation/NSString.swift
@@ -20,6 +20,16 @@ extension unichar : ExpressibleByUnicodeScalarLiteral {
20
}
21
22
23
+// Placeholder for a future implementation
24
+public
25
+func NSLocalizedString(_ key: String,
26
+ tableName: String? = nil,
27
+ bundle: Bundle = Bundle.main,
28
+ value: String = "",
29
+ comment: String) -> String {
30
+ return bundle.localizedString(forKey: key, value: value, table: tableName)
31
+}
32
+
33
#if os(OSX) || os(iOS)
34
internal let kCFStringEncodingMacRoman = CFStringBuiltInEncodings.macRoman.rawValue
35
internal let kCFStringEncodingWindowsLatin1 = CFStringBuiltInEncodings.windowsLatin1.rawValue
0 commit comments