Created
September 9, 2018 09:51
-
-
Save malcommac/1f358dd9d53a8adbdf0b25d920d648b3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let imageURL: URL = ... | |
fetcher.sizeFor(atURL: $0.url) { (err, result) in | |
// error check... | |
print("Image size is \(NSStringFromCGSize(result.size))") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment