Created
November 30, 2020 10:13
-
-
Save wiwi-git/cd5b6a3dd8f18483fc0f09f77100b2a5 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
@objc func touchUpStartButtonAction() { | |
print("start") | |
for url in imageUrls { | |
let image = UIImage(contentsOfFile: url!.relativePath) | |
DispatchQueue.main.async { | |
print(url!.relativePath) | |
self.loadingView!.imageView.image = image | |
self.loadingView!.setNeedsDisplay() | |
} | |
var t = 0 | |
for i in 0 ... 5000000 { | |
t += i | |
} | |
print(t) | |
} | |
print("end") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment