I want to show alertview prior to querying the core data.
My core data will query hundred thousands record and it will take some time, but when I try to show the alertview, the alertview is displayed after the core data process is done?
What’s wrong with it? How can I show the alertview before querying?
I managed to solve this by:
When need to update the GUI, use this: