Skip to content

Instantly share code, notes, and snippets.

@aGupieWare
Created November 14, 2014 21:57
Show Gist options
  • Select an option

  • Save aGupieWare/646cb43f13dc2cdfac3c to your computer and use it in GitHub Desktop.

Select an option

Save aGupieWare/646cb43f13dc2cdfac3c to your computer and use it in GitHub Desktop.
Swift client, image data . . .
let url = NSURL(string: urlString)!
var imageData : NSData? = NSData(contentsOfURL: url, options: NSDataReadingOptions.DataReadingMappedIfSafe, error: &err)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment