I don’t understand your question. If it is “can I explode a URL into components”, the answer is that URL can do this.
I’m not sure about the specifics with swift, but I thinking he’s referring to a type, URL. Ruby has a URI module that you would use to work with uri strings, and I think that’s exactly what he is taking about.