I'm trying to search several thousand objects in an application for iPhone, but the search is far behind - after each keystroke, the user interface freezes for 1 - 2 seconds. To prevent this, I have to do a search in the background thread.
I was wondering if anyone has any tips on searching in the background thread? I learned a little from NSOperation and searched the Internet, but did not find anything useful.
multithreading ios thread-safety objective-c
fabian789
source share