Update UITableView data when returning from detailView
I update the UITableView's data source when viewDidAppear method is called on the ViewCon开发者_运维问答troller that holds the tableview. So every time the user returns from the detailView the data is updated.
So the issue is that the UI is interrupted and the cell is selected until it is finished.
Is NSOperationQueue the best way to correct this?
Thanks for some suggestions.
Personally I would do these kind of things using either blocks or an NSOperation. The important thing is that the UI doesn't get blocked at any time if you can help it.
精彩评论