Skip to content

Commit fa7d92c

Browse files
pvieitoparkera
authored andcommittedApr 4, 2018
Removed annoying NS prefix in README (#1505)
1 parent 75e2de8 commit fa7d92c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Here is a simple `main.swift` file which uses Foundation. This guide assumes you
3333
import Foundation
3434

3535
// Make an URLComponents instance
36-
let swifty = NSURLComponents(string: "https://swift.org")!
36+
let swifty = URLComponents(string: "https://swift.org")!
3737

3838
// Print something useful about the URL
3939
print("\(swifty.host!)")

0 commit comments

Comments
 (0)