1.方式
Thread(最轻,灵活度高)
Cocoa Operation (队列+操作对象)
Grand Central Dispatch(调度队列+操作对象)
2.Thread
Thread.detachNewThreadSelector(#selector(downloadImage),
toTarget: self, with: nil)
//方式2:实例方法-便利构造器
let myThread