I have a navigation view with a table view, when a row is clicked, the indexPath row is passed to the next view.
in the Details viewDidLoad, I get data from Core Data. I am using select from application delegate
[appDelegate loadItem:i];
As you can see, I am missing a single integer that carries a line number.
the question arises: How can I make this call process in another thread (in the background) I need this because sometimes the result of the selection is too large, so processing takes 3 seconds, pushing away the view of the information.
I need to display an activity indicator in three seconds, so I need to put Fetch in another thread in order to be able to use the user interface for the indicator during processing of the selection.
I need the easiest way since I'm a beginner. Posting some codes will be great. or links :)
source
share