I\'m attempting to learn Swift & the basics of iOS dev at the same time, so bear with me. I\'ve got a TableViewController that is
If your connection is in background thread then you should update UI in main thread like this
self.tblMainTable.performSelectorOnMainThread(Selector("reloadData"), withObject: nil, waitUntilDone: true)
As I have mentioned here
Swift 4:
self.tblMainTable.performSelector(onMainThread: #selector(UICollectionView.reloadData), with: nil, waitUntilDone: true)