Skip to content

Instantly share code, notes, and snippets.

@kean
Last active Jan 31, 2016
Embed
What would you like to do?
var request = ImageRequest(URLRequest: <#NSURLRequest#>)
request.targetSize = CGSize(width: 200, height: 200) // Resize image
request.processor = <#ImageProcessing#> // Apply image filters
Nuke.taskWithRequest(request) { response in
let image = response.image
}.resume()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment