2017-07-02 118 views

回答

1
let image = NSImage(data: Data(contentsOf: url)) 
+0

這將阻止主線程並使您的應用程序非常無響應。 –

+0

你可以隨時使用後臺線程,如果它變得沒有反應 –