ios遇到问题

2015-02-05 18:53

http://stackoverflow.com/questions/24111770/make-a-simple-fade-in-animation-in-swift

http://www.appcoda.com/app-extension-programming-today/

https://books.google.com.hk/books?id=5JU8BQAAQBAJ&pg=PA192&lpg=PA192&dq=swift+viewDidAppear+before+update+ui&source=bl&ots=mntFUJoym7&sig=ZIFvo_SclT9hyRS6_3xMSN-wVf0&hl=zh-CN&sa=X&ei=2S3TVL7kF47joASq5oDgCA&ved=0CGQQ6AEwCQ#v=onepage&q=swift%20viewDidAppear%20before%20update%20ui&f=false


http://jamesonquave.com/blog/developing-ios-apps-using-swift-tutorial-part-2/

http://stackoverflow.com/questions/26743367/updating-the-ui-using-dispatch-async-in-swift

https://www.weheartswift.com/make-awesome-ui-components-ios-8-using-swift-xcode-6/

http://www.reddit.com/r/swift/comments/2i6niq/dalay_in_updating_ui_from_nsurlsession/

http://stackoverflow.com/questions/25603390/swift-update-label-with-html-content-takes-1min/25603877#25603877

http://stackoverflow.com/questions/25468106/ios-takes-long-time-to-update-view-after-http-request

dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0)) {
            //这里写需要大量时间的代码
            println("这里写需要大量时间的代码")
            
            dispatch_async(dispatch_get_main_queue()} {
                
                //这里返回主线程,写需要主线程执行的代码
                println("这里返回主线程,写需要主线程执行的代码")
            }
        } 

http://www.cocoachina.com/industry/20140620/8894.html

http://www.ios-developer.net/iphone-ipad-programmer/development/threads/updating-ui-controls-on-background-threads

、、自定义控件swift

http://www.bjbkws.com/apply/1409/