Let’s assume you have a human-friendly string and you want to make it a part of url. It’s not that hard:
WARNING: This tutorial was created with Xcode beta and early version of Swift. Use it at your own risk. Wondering what is the simplest way to parse small XML resources using Swift? For less demanding purposes you can use standard Foundation library called NSXMLParser.