How to construct URL with URLComponents and appendPathComponent in Swift
Issue #193
1 | var components = URLComponents(string: "https://google.com/") |
-> nil
1 | var components = URLComponents(string: "https://google.com/") |
-> https://google.com/abc/?q=pokemon
1 | var url = URL(string: "https://google.com/") |
-> https://google.com//abc%3Fq=pokemon