We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75e2de8 commit fa7d92cCopy full SHA for fa7d92c
README.md
@@ -33,7 +33,7 @@ Here is a simple `main.swift` file which uses Foundation. This guide assumes you
33
import Foundation
34
35
// Make an URLComponents instance
36
-let swifty = NSURLComponents(string: "https://swift.org")!
+let swifty = URLComponents(string: "https://swift.org")!
37
38
// Print something useful about the URL
39
print("\(swifty.host!)")
0 commit comments