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 9d31226 + ff3e02e commit 092c58aCopy full SHA for 092c58a
Sources/Foundation/NSStringAPI.swift
@@ -1894,6 +1894,14 @@ extension StringProtocol {
1894
1895
}
1896
1897
+// Old method names
1898
+extension NSString {
1899
+ @available(*, unavailable, renamed: "path(withComponents:)")
1900
+ public static func pathWithComponents(_ components: [String]) -> String {
1901
+ fatalError("unavailable function can't be called")
1902
+ }
1903
+}
1904
+
1905
// Pre-Swift-3 method names
1906
extension String {
1907
@available(*, unavailable, renamed: "localizedName(of:)")
0 commit comments