jaco-g
8/16/2017 - 5:24 PM

String with spaces to URL

let url = URL(fileURLWithPath: "/Users/jacogrinwis/string with spaces")  
print(url) // prints "file:///Users/quinn/String%20with%20spaces/"