Adding a couple of playgrounds with examples of using NSURLConnection and NSURLSession in Swift. They don't work with how I've modified them though, as they are meant to be used for downloading data, but my examples are currently trying to download a file. I have a working example of downloading a file in a different playground.
Adding a playground showing how to use NSURLSessionDownloadTask specifically in a playground.