Run a background thread on Swift 3

后端 未结 3 944
情书的邮戳
情书的邮戳 2021-02-01 17:19

I have a function that goes like this:

fileprivate func setupImageViewWithURL(url: URL) {
    var image: UIImage? = nil
    do {
        try image = UIImage(data         


        
3条回答
提交回复
热议问题