8 Replies
      Latest reply: Oct 18, 2016 9:48 AM by SergeyDi RSS
      Alexandre Carmo Level 1 Level 1 (0 points)

        Hello friends.

        O swit 2.x I use the below code and worked ok, but I was trying use on swift 3 and I cant, I dont understand how to write it on swift 3

         

        dispatch_async(dispatch_get_main_queue()) {
        //do something
        }
        

         

        How can I write this code on Swift 3?