Skip to content

Instantly share code, notes, and snippets.

@wiwi-git
Created November 30, 2020 10:12
Show Gist options
  • Save wiwi-git/202855cc29bf1f3577c299ce02f55e85 to your computer and use it in GitHub Desktop.
Save wiwi-git/202855cc29bf1f3577c299ce02f55e85 to your computer and use it in GitHub Desktop.
@objc func touchUpStartButtonAction() {
print("start")
for url in imageUrls {
let image = UIImage(contentsOfFile: url!.relativePath)
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