I believe this should be `NSURL.URLWithString(content)`.