Swift - 多线程实现方式
1.http://www.hangge.com/blog/cache/detail_743.html
2.http://www.hangge.com/blog/cache/detail_744.html
swift 线程更新UI
http://my.oschina.net/mycbb/blog/375826
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT,0),{
// do something 异步执行
dispatch_sync(dispatch_get_main_queue(),{
// do something 回调主线程
})
})