×

Build URL

iOS 14 +

Notes

Construct a URL from components

Syntax

buildURL(scheme: <#String (Allows Variables)#>, host: <#String (Allows Variables)#>, path: <#String (Allows Variables)#>, queryItems: <#Unknown Parameter#>, user: <#String (Allows Variables)#>, password: <#String (Allows Variables)#>, fragment: <#String (Allows Variables)#>, addPort: <#Boolean#>, port: <#Integer#>)

Example

buildURL(scheme: "https", host: "blog.actuallyzach.com", path: "", queryItems: , user: "", password: "", fragment: "", addPort: , port: )